PDA

View Full Version : i want to get a site like that help me please...


unfoldedwings
08-14-2002, 08:45 AM
hey i want to do a site like them www.convergecult.com you know when you click on an image beside that image another image will appear (check the site you will understand)... yeah so i want do to a menu like this for one of my site... is it possible do to something like that with frontpage if yes how do i do if not what is the code...
or is it possible to save the site?... like this i will modify it ... or i'll try)
thanx a lot
( by the way please explain well cause i usually speak french...sorry)
thanx a lot!
mat

Squintz
08-14-2002, 09:48 PM
I really dont see y you would want that site....Its very slow

Tonz
08-15-2002, 12:05 AM
with all due respect.... That site sucks big time..


Lets count the "don'ts" of web development.

1) As mentioned above - Slow
2) Pop up for no reason,
3) Doesn't say that when you click the main image that there will be a pop up
4) In the pop up, hard to find the menu
5) The pop up can not be resized
6) No back button
7) No "I frame" in NS 4.7 (Not cross browser

Have a look at
web sites that suck .com (http://www.websitesthatsuck.com/) . In fact I am going to submit that site to them.

The menu can easly be produced using PhotoShop 6 and above (which includes ImageReady)

Mat, you sound like an inteligent sort, i know you can do better.

Good Luck

Tonz

:cool:


BTW You English is better than my french

unfoldedwings
08-15-2002, 08:45 AM
hey i didnt say that i wanted to exactly a site like this one i jsut wanted to know how when you roll the mouse aver an image another image appear at the left like on this site you understand?
is it possible todo that with frontpage?...

Squintz
08-15-2002, 01:15 PM
i think it is possible with frontpage but a suggestion that iv picked up over the time of being on this forum is not to use frontpage because it creates sloppy and sometimes incompatible code...

I would look into either DHTML or JavaScript if you must use frontpage... They have topics in the help section of FrontPage which coer the basics of both of theese...

duniyadnd
08-15-2002, 03:41 PM
to answer your question, its pretty easy, you don't even need to use frontpage if you know some basic html and javascripts..

first the graphics part, let's label them:
"A" Section we have your logos (any size you want)
"B" Section we have your logos when your mouse is over them
(size should be consistent in corresponding images with Group "A")
"C" Section is the text that comes up when you put your mouse over the logos (keep this size consistent in ALL)

In the "C" Section, you should remember to create a blank.gif file which is the same size. I say gif, so that you make the whole image transparent.

That's with the graphics aspect. Now with the coding:

In your Head Tag, you might want to preload the images which you don't automatically see:


function doPreload()

{

var the_images = new Array('blank.gif','B1.jpg','B2.jpg','B3.jpg',
'C1.jpg','C2.jpg','C3.jpg');

preloadImages(the_images);

}

function preloadImages(the_images_array) {

for(loop = 0; loop < the_images_array.length; loop++)

{
var an_image = new Image();
an_image.src = the_images_array[loop];
}

}

*************

in your body tag add:

onLoad="doPreload();"

*************

so you have A1, A2, A3 somewhere in your code in between your body tags (and your blank.gif):

Whereever your blank.gif is located, give it a name (blank is good... :D)

<img src="blank.gif" name="blank">

For each mouseover, you can do this:

<a href="yourlink.html" onMouseOver="document.ONE.src='B1.jpg';document.blank.src='C1.gif';" onMouseOut="document.ONE.src='A1.jpg';document.blank.src='blank.gif';"><img src="A1.jpg" name="ONE" border="0"></a>

and so on.

This should work.

Remember to change the name attribute for each one, otherwise multiple ones would change. The blank name is common so that the text is changed in the same area.

Later
Duniyadnd

brothercake
08-16-2002, 01:54 PM
Originally posted by Tonz

web sites that suck .com (http://www.websitesthatsuck.com/)


That is a fun site, but I would avoid using its validator. I ran a page through it and it came up with 24 browser compatibility warnings, 3 spelling mistakes and 4 coding errors ... and they were all wrong.