The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security and Performance FAQs
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 19 posts ] 
Author Message
PostPosted: Sun May 25, 2008 11:27 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
Hi,
check the website

www.amitylounge.com/main

i m wondering why this website is not loading progressively....it loads after some time and loads the whole page once....but i want the page to be loaded progressively so user shoudnt wait to load the page.....please suggest wots going wrong...the frontpage runs only 62 queries..

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Wed Jun 04, 2008 9:50 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
IS there any one who can help me???

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Wed Jun 04, 2008 12:45 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Nov 10, 2005 3:10 am
Posts: 1926
Location: New Jersey, USA
Simple, move all your Javascript to the bottom of the page, and all your CSS to the top.

_________________
Anthony Ferrara - Core Team - Development Coordinator - Bug Squad - JSST

http://moovum.com/ - The Bird is in the air! Get Mollom Anti-Spam on your Joomla! website with Moovur...
http://www.joomlaperformance.com For All Your Joomla Performance Needs


Top
 Profile  
 
PostPosted: Thu Jun 12, 2008 1:40 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
but how can i do that??? how can i move javascripts to bottom of the page...this will change the position of the contents too...page loads progressively in firefox.but in ie it gives problem


Top
 Profile  
 
PostPosted: Sat Jun 14, 2008 4:29 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
i m unable to understand the problem

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Sat Jun 14, 2008 4:45 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Wed Aug 17, 2005 11:46 pm
Posts: 968
Put all Javascript just above </body>.

_________________
Doyle Lewis
BuyHTTP Internet Services
http://www.buyhttp.com/joomla_hosting.html - No Overselling Guarantee. Your Joomla site, faster.
http://www.joomlademo.com - Joomla flash tutorials.


Top
 Profile  
 
PostPosted: Sat Jun 14, 2008 8:03 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
i m posting the code, let me know what changes i can make!


Quote:
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php
if ( $my->id ) {
initEditor();
}
?>
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/mainpage/css/template_css.css" rel="stylesheet" type="text/css" />
</head>

<body>

<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><?php mosLoadModules ( 'header' ); ?></td>
<td width="100%"><?php mosLoadModules ( 'header2' ); ?></td>
</tr>

<tr>
<td><table width="1000" border="0" cellspacing="0" cellpadding="0">

<tr>
<td width="12" height="25"></td>
<td><script language="JavaScript" src="<?php echo $mosConfig_live_site;?>/images/menu/java/mainmenu_2.js" type="text/javascript"></script></td>
<td><table cellpadding="0" cellspacing="0" class="moduletable-nav">
<tr>
<td><form action="index.php?option=com_search&amp;Itemid=5" method="get">
<div class="search-nav">
<input name="searchword" id="searchword" maxlength="20" alt="search" class="inputbox-nav" type="text" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
</div>
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="5" />
</form></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<td width="4">&nbsp;</td>
<td valign="top">
<?php mosLoadModules ( 'left'); ?></td>
<td valign="top" width="100%">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="5" valign="top" height="664" background="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/left.png">
<img border="0" alt="top_left"src="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/top_left.png" width="12" height="33" /></td>
<td valign="top" height="664" style="background-image: url('<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/top.png'); background-repeat: repeat-x; background-position: top">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td><?php mosPathWay(); ?></td>
</tr>
<tr>
<td><hr />
<?php mosLoadModules ( 'user1'); ?>
<hr /></td>
</tr>
<tr>
<td><?php mosMainBody(); ?></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" >
<tr>
<td width="50%"><?php mosLoadModules ( 'user2'); ?></td>
<td width="50%"><?php mosLoadModules ( 'user3'); ?></td>
</tr>
</table>
&nbsp;
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="50%"><?php mosLoadModules ( 'user4'); ?></td>
<td width="50%" rowspan="2"><?php mosLoadModules ( 'user5'); ?></td>
</tr>
<tr>
<td><?php mosLoadModules ( 'user4a'); ?></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="50%" rowspan="2"><?php mosLoadModules ( 'user6'); ?></td>
<td width="50%"><?php mosLoadModules ( 'user6a'); ?></td>
</tr>
<tr>
<td><?php mosLoadModules ( 'user6b'); ?></td>
</tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><?php mosLoadModules ( 'user7'); ?></td>
</tr>
<tr>
<td><?php mosLoadModules ( 'user7a'); ?></td>
</tr>
</table>

<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="33%"><?php mosLoadModules ( 'user8'); ?></td>
<td width="34%"><?php mosLoadModules ( 'user9'); ?></td>
<td width="33%"><?php mosLoadModules ( 'user10'); ?></td>
</tr>
</table>

</td>
</tr>
</table>

<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>

<td><hr />

<?php mosLoadModules ( 'advert1'); ?></td>
</tr> </table>
</td>
<td width="4" valign="top" height="664" background="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/right.png">
<img src="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/top_right.png" alt="right" width="14" height="33" border="0" /></td>
</tr>
<tr>
<td width="5">
<img src="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/bot_left.png" alt="bot_left" width="12" height="12" border="0" /></td>
<td background="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/bot.png">
<img src="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/bot.png" alt="bot" width="2" height="12" border="0" /></td>
<td width="4">
<img src="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/box/bot_right.png" alt="bot_right" width="14" height="12" border="0" /></td>
</tr>
</table>
</td>
<td valign="top" width="1"><?php mosLoadModules ( 'right'); ?></td>
<td width="4">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="99%" background="<?php echo $mosConfig_live_site;?>/templates/mainpage/images/bac_footer.png">
<tr>
<td width="12">&nbsp;</td>
<td>
<p align="center" />
<?php include_once('includes/footer.php'); ?>
</td>
<td width="12">&nbsp;</td>
</tr>
</table>
</div>
</td>
</tr>
</table>

</body>

</html>

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Mon Jun 16, 2008 2:37 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
please provide me the solution!

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Wed Jun 18, 2008 5:36 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
page loads progressively on firefox!

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Thu Jun 19, 2008 3:27 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
please help me , i really need solution of it

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Fri Jun 27, 2008 12:46 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
the page is taking a lot of time to load in IE but loads very quickly in firefox......iam really bugged up with this behavior...

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Sat Jun 28, 2008 10:17 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Aug 18, 2005 12:06 pm
Posts: 762
Location: Netherlands
The solution has been provided, can you please stop spamming this thread?

As Anthony says, move the JavaScript to the bottom of your page and all CSS to the top. This is a minor adjustment in your template, just copy/paste it and you're done.

_________________
Personal blogs can be found on http://JFoobar.org


Top
 Profile  
 
PostPosted: Sat Jun 28, 2008 10:23 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
i am sorry if you think i am spamming the thread....please have a look on my template and please tell me how can i do it....if i move java scripts to the bottom page it will also change the position of my menu....

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Sat Jun 28, 2008 11:29 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Aug 18, 2005 12:06 pm
Posts: 762
Location: Netherlands
amar_strange wrote:
i am sorry if you think i am spamming the thread....please have a look on my template and please tell me how can i do it....if i move java scripts to the bottom page it will also change the position of my menu....


One post every day, requesting help is close to spamming to me. Anyway, there is no relation between your menu positions and the JavaScript that needs to be loaded. Did you even test this?

_________________
Personal blogs can be found on http://JFoobar.org


Top
 Profile  
 
PostPosted: Sun Jun 29, 2008 3:53 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
Code:
<td><script language="JavaScript" src="<?php echo $mosConfig_live_site;?>/images/menu/java/mainmenu_2.js" type="text/javascript"></script></td>


actually i am using an external file .....sorry ....but if i change the position of code the menu also changes its position..

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Mon Aug 11, 2008 11:01 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
I have been unable to fix this problem.....any help will be really appreciated....

_________________
http://www.amitylounge.com


Top
 Profile  
 
PostPosted: Sat Sep 13, 2008 9:39 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
is it possible to fix the problem by converting template into DIVS??


Top
 Profile  
 
PostPosted: Mon Jun 08, 2009 12:00 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jun 08, 2009 11:48 am
Posts: 1
Hi Amar

Im very disappointed from the answers to your posts!
Nobody bothered to read your HTML code properly.
The menu script that you have cannot be moved to the bottom of the page, cause the menu will show exactly where is the script, so wll done willibill for posting helpless info!!!
I found your post cause I have exactly the same problem as you, and I hoped to find help here.
Anyway I found help on other website.
So here why our websites don't load progressivly in IE and do in Firefox.

The IE loads first the content of the tables before it renders the tables so it displays the width and hights properly, while Firefox renders page as its loading no matter if the tables and there, and adjusts widths and hights of the table after the page is loaded. You need to redesign the whole template, and make sure you dont put the whole page within a table. Simple as that, moving scripts to the bottom helps so move what you can.

To find more specific info visit the page that I found:
http://www.vbulletin.org/forum/showthread.php?t=161099

I have to redesign the whole template myself cause of tables as well and I cant wait to see the result.

Hope that helps,
Olivia


Top
 Profile  
 
PostPosted: Thu Jul 30, 2009 11:45 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Fri Jan 19, 2007 8:06 am
Posts: 183
i have solved this issue 7 months ago..

_________________
http://www.amitylounge.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group