Welcome Guest ( Log In | Register)



3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Rollover Question
icemarle
post Apr 26 2005, 01:58 AM
Post #11


The Bogey Princess
*********

Group: Members
Posts: 638
Joined: 25-April 05
Member No.: 6,138



Images

Oh, please don't use the layer-2-DOWN images. I only want the over and the normal images.

Thanks! laugh.gif Sorry for the trouble.
Oh, why did I place the down images in the first place? I guess I was lazy, and just copy pasted it. laugh.gif
Go to the top of the page
 
+Quote Post
snlildude87
post Apr 26 2005, 02:05 AM
Post #12


Moderator
***************

Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



Wait! It does work! I can bet you anything that you have a slow internet connection. All you have to do is place your mouse over the images until they change. Trust me. It works. smile.gif
Go to the top of the page
 
+Quote Post
icemarle
post Apr 26 2005, 02:21 AM
Post #13


The Bogey Princess
*********

Group: Members
Posts: 638
Joined: 25-April 05
Member No.: 6,138



Yeah, I have a slow connection. I'm using Dial-up at 52 KPBS. But if it works... is there a way to make it work faster? I saw some rollovers that worked fast for dial-up. I made my rollovers with help from this tutorial: http://www.cadtutor.net/wb/fp/rollover/rollover.html
Go to the top of the page
 
+Quote Post
snlildude87
post Apr 26 2005, 02:28 AM
Post #14


Moderator
***************

Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



There are two ways that I can think of, and each will ultimately make your image size smaller.

1. Decrease the size of the image (dimensions) (recommended)
2. Decrease its quality (not recommended because it would be a huge turn off for your visitors)
3. Save the pics as png

You can always make the buttons smaller by resizing it using a program like Microsoft Image Resizer

Microsoft Paint does a very nice job of decreasing image sizes. Simply save it as a .jpg file. smile.gif

OR! You can save your pictures are png files. I find that large png files take less than 100 KB of space whereas large jpg files can take up to 1 megabyte. Huge difference.

I don't suggest using a program to convert the image to a png file because conversions are not always smooth...I say just make the image from scratch in Paint, and save it as a png file that way.

There is a fourth option, and that is making a preloader, but I don't know how to do that. sad.gif
Go to the top of the page
 
+Quote Post
icemarle
post Apr 26 2005, 02:43 AM
Post #15


The Bogey Princess
*********

Group: Members
Posts: 638
Joined: 25-April 05
Member No.: 6,138



I'm going to go with Microsoft Image resizer. I'll let you know when it's done. Thanks! (Yeah, the files are pretty big, I was lazy again) *Kicks self*
Tells self: "Get motivated you fool!"
Go to the top of the page
 
+Quote Post
whyme
post Apr 26 2005, 03:20 AM
Post #16


Privileged Member
*********

Group: Members
Posts: 661
Joined: 10-January 05
Member No.: 3,189



You can save your self the burden of having to see these problems by inserting a preloading code in html page.

add this chunk of javascript to the <head</head> tags of your page:

CODE

<script language="javascript">
<!--
var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}
preloadimages("image1.jpg","image2.jpg","image3.jpg","image4.jpg");
//--></script>



replace image1.jpg to image4.jpg with the pictures that you are using, add more as prefered.

and replace
CODE
<body>


with this:

CODE
<body onload="preloadimages()">


by doing this, all your images will load before the site shows, so the on mouse over will automactically show up if you have a slow connection.

hope this will help,
-whyme
Go to the top of the page
 
+Quote Post
icemarle
post Apr 26 2005, 03:41 AM
Post #17


The Bogey Princess
*********

Group: Members
Posts: 638
Joined: 25-April 05
Member No.: 6,138



Thanks! I'll need that! That's what I need! Even though I changed the image sizes, it's still slow. I'll use that code... I'll tell you what happens. THANKS!
Go to the top of the page
 
+Quote Post
whyme
post Apr 26 2005, 03:53 AM
Post #18


Privileged Member
*********

Group: Members
Posts: 661
Joined: 10-January 05
Member No.: 3,189



gald i could help, tell me how things went.

-whyme smile.gif
Go to the top of the page
 
+Quote Post
Dooga
post Apr 26 2005, 03:57 AM
Post #19


Moderator
Group Icon

Group: [MODERATOR]
Posts: 1,344
Joined: 26-December 04
From: Canada
Member No.: 2,940
myCENT:46.53



Here's an example I did with frontpage directly. As in, I made the page and uplaoded it FROM frontpage. Just make a new web. Frontpage will automatically upload the js file for you:

http://www.rjprojects.cjb.net