logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-25-2011, 05:50 PM   #1
kidseoul
 
Join Date: Apr 2011
Posts: 4
Default Rollover Not Working Together

I'm relatively new to HTML and I've searched the forums for an answer to this issue that I'm having but can't find a solution so here goes.

I have two separate PHP files, Header and Footer, with rollover menus within them. They both work fine separately but when I combine them into my index.php page, 2 out of 4 of my Header rollovers stop working and both rollovers in my Footer isn't working.

Here is the Header:
http://www.parkhomefurnishings.com/J...der_logo_1.php

Here is the Footer:
http://www.parkhomefurnishings.com/J...als/Footer.php

Now here is my main homepage trying to call those two PHP pages:
http://www.parkhomefurnishings.com/J...se/index_1.php

Any help would be greatly appreciated since I've spent, on and off, upwards of 4 hours trying to figure out what is wrong with my code.

Thanks in advance!
kidseoul is offline   Reply With Quote
Old 04-25-2011, 07:07 PM   #2
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

That's because each menu contains images with id Image3 and Image4. You're going to need for each images you want to create a rollover for to have a unique id.

BTW, you'd be better off with CSS rollovers rather than using DW's rollover behavior.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 04-25-2011, 07:24 PM   #3
kidseoul
 
Join Date: Apr 2011
Posts: 4
Default

Thanks for the quick reply!

I totally understand it now. And after reading many of the threads on this forum about rollovers, I'm already starting to see that CSS rollovers is the obvious choice when trying to utilize rollovers.

Thanks again! Wish I knew about this site earlier on. Might've saved myself a zilllion hours.
kidseoul is offline   Reply With Quote
Old 04-25-2011, 10:00 PM   #4
d a v e
 
Join Date: Feb 2006
Location: finland
Posts: 1,684
Default

also the text in your header (address and phone number) should be real (html) text so it's easily found by search engines and accessible to everyone.

and your dog and logo and your buttons should be a gif or 8-bit png not a jpeg.
jpegs are for photos and images with 1000s of colours (i.e. gradients)
d a v e is offline   Reply With Quote
Old 04-26-2011, 08:18 AM   #5
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

You need to check as well that you have two sets of html tags, two sets of head tags and two sets of body tags (the second of which isn't closed). You need to sort that. Plus no HTML text as d a v e has pointed out.
Corrosive is offline   Reply With Quote
Old 04-26-2011, 03:26 PM   #6
kidseoul
 
Join Date: Apr 2011
Posts: 4
Default

Thanks again! I could definitely use all the help that I can get! Very much appreciated!!
kidseoul is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:25 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com