WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Loading page Empty Loading page Sat Mar 13, 2010 12:03 am

Reave

Reave
Registered Member
Registered Member
What I am looking to do is have a loading page display while all the graphics and webpage renders all the images. The loading should very on the how fast the users bandwidth speed is. I want to try and make the loading page less distracting as the website is a design portfolio. Anyone have any ideas on how this should be done or what you have done in the past? Thanks.

Edit: is it possible just to do like a loading spinner on just images?
Loading page 2krjfm

http://ectos.darkbb.com/

2Loading page Empty Re: Loading page Sat Mar 13, 2010 12:33 am

Sanket

Sanket
Administrator
Administrator

But, otherwise you can add this to the head section of the html page.
Code:
<META HTTP-EQUIV=refresh CONTENT="5; URL=http://www.webartzforum.com/Review-h11.htm">

This means after 5 seconds it will go to the http://www.webartzforum.com/Review-h11.htm page

Also, do not forget to add the loading image in the body section of the page.

Edit: Wont work for only images.



Last edited by Sanket on Sat Mar 13, 2010 12:43 am; edited 1 time in total

http://www.webartzforum.com

3Loading page Empty Re: Loading page Sat Mar 13, 2010 12:41 am

Green CoW

Green CoW
Graphic Designer
Graphic Designer
Do you mean something like this??
Code:
http://www.dynamicdrive.com/dynamicindex4/preloadit.htm

4Loading page Empty Re: Loading page Sat Mar 13, 2010 12:52 am

Sanket

Sanket
Administrator
Administrator
http://www.lateralcode.com/using-load-icons/
This shall help. Does exactly what you require.

http://www.webartzforum.com

5Loading page Empty Re: Loading page Sat Mar 13, 2010 1:19 am

Reave

Reave
Registered Member
Registered Member
Sanket wrote:http://www.lateralcode.com/using-load-icons/
This shall help. Does exactly what you require.

Nice find. But now I have to figure out how to make it work with jQuery Fancybox. I think, im stuck at the impossible.

Here is my confusing code.
Code:
  <div class="blo3" id="fader1" style="opacity: 0.5;">
          <p><span><strong>Disaster City</strong></span></p>
          <img id="loader" src="Main_Images/Spinner.gif" alt="Loading, Loading!"></img>
          <a id="single_image" title="Disaster City" href="Main_Images/BD600w.jpg">
          <img id="large-img" class="B1" border="0" src="Main_Images/BDOverlay1.png" alt="picture" width="171" height="107" /></a>
          <div class="clr"></div>
          <p><strong>Personal Work</strong><br />Brian DiStefano</p>
          <div class="clr"></div>
        </div>
Code:
<script type="text/javascript">
$(function() {
   $('#large-img').hide();
   $('#large-img').load( function() {
      $('#loader').hide();
      $('#large-img').show();
   } );
});
</script>

http://ectos.darkbb.com/

6Loading page Empty Re: Loading page Sat Mar 13, 2010 1:27 am

Sanket

Sanket
Administrator
Administrator
Can you tell me which is the image that you want ? I need the whole link of that image. Also which is the loader image?

http://www.webartzforum.com

7Loading page Empty Re: Loading page Sat Mar 13, 2010 1:42 am

Reave

Reave
Registered Member
Registered Member
Sanket wrote:Can you tell me which is the image that you want ? I need the whole link of that image. Also which is the loader image?

Spinner.gif - The loading spinner
Loading page 2krjfm

BDOverlay1.png - I want spinner to show while its loading this. I have the background picture that goes behind it, but it is in the css.
Loading page 244qgdf

BD600w.jpg - this shows in jQuery Fancybox when you click the BDOverlay1.png.
Loading page 33v21yu

http://ectos.darkbb.com/

8Loading page Empty Re: Loading page Sat Mar 13, 2010 1:53 am

Sanket

Sanket
Administrator
Administrator
Okay, i am a little lost.

When the large image BD600w.jpg is going to be displayed only when you click on it. Which is the large file that needs to be loaded?

Also, the spinner image should go above that rectangular image BDOverlay1.png ???

http://www.webartzforum.com

9Loading page Empty Re: Loading page Sat Mar 13, 2010 2:15 am

Reave

Reave
Registered Member
Registered Member
yah it does sound confusing as hell. The more I look at it, i dont think it will work. It is not really a big deal of having this. Its only intension was for people who are on a slow internet connection. Im gonna be optimizing the pictures to have the best image quality with a little file size.

the BD600.jpg is associated with jQuery and has its own loader.

I mainly wanted the spinner for loading the BDOverlay1.png - In my portfolio I will have about 9-16 of the overlays/pictures. While its all loading the pictures for a user with a slow connection they will see the spinner before the image completely loads.

Edit: I just though of something. This wont work the way I have the overlays setup. The main smaller images that show behind are in the css. The overlays are in the html. The only way this will work if I put the overlay on the image and use the html only for displaying the image. You are probably really lost right now, but ill report back when I straighten things out.

http://ectos.darkbb.com/

10Loading page Empty Re: Loading page Sat Mar 13, 2010 3:01 am

Reave

Reave
Registered Member
Registered Member
I got it to work. Now here is what I did. First removed all the overlay stuff in the css and html and manually put the border overlay over the image to have one picture. The way I tested it to make sure it works was using a picture in place of the DisasterCityMiniB.png with a file size of 4mb uploaded to tinypic. Thank you for that link Sanket and help. My questions are solved for now.

DisasterCityMiniB.png
Loading page 2hmge20

basically, I used the same coding I posted above earlier.
Code:
        <div class="blo3" id="fadder1" style="opacity: 0.5;">
          <p><span><strong>Disaster City</strong></span></p>
          <img id="loader" src="Main_Images/Spinner.gif" alt="Loading, Loading!"></img>
          <a id="single_image" title="Disaster City" href="Portfolio_Images/Home/DisasterCity.jpg">
          <img id="large-img" border="0" src="Portfolio_Images/Home/DisasterCityMiniB.png" alt="picture" width="171" height="107" /></a>
          <div class="clr"></div>
          <p><strong>Personal Work</strong><br />Brian DiStefano</p>
          <div class="clr"></div>
        </div>

http://ectos.darkbb.com/

11Loading page Empty Re: Loading page Sat Mar 13, 2010 11:11 am

Sanket

Sanket
Administrator
Administrator
Thats awesome. Is this online?

http://www.webartzforum.com

12Loading page Empty Re: Loading page Sat Mar 13, 2010 11:40 am

Reave

Reave
Registered Member
Registered Member
Sanket wrote:Thats awesome. Is this online?
Not yet, hopefully by the end of the month. Iv started working on it a couple weeks ago. My brother does all the graphics, I do all the coding. Maby you will see the homepage for the code a page contest.

http://ectos.darkbb.com/

13Loading page Empty Re: Loading page Sat Mar 13, 2010 11:45 am

Sanket

Sanket
Administrator
Administrator
That would be great Smile

Locked | Solved

http://www.webartzforum.com

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum