Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Different browsers display problem
Old 03-12-2007, 12:42 PM Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
Hy,
i have a problem with my site ( http://testinfo.gotdns.com ) ..if I put the <!DOCTYPE declaration in it, when i open the site in Fire Fox, my drop-down menu ( under "Informatii" button ) doesn't work, and in Iexplorer and Opera works..... can you help me please....
Thanks
Iulian
bullysheful is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-12-2007, 12:51 PM Re: Different browsers display problem
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Your syntax appears to be slightly off:

document.getElementById('info'.style.visibility = 'visible';
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-12-2007, 01:43 PM Re: Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
that means that I should replace "onmouseover" statements?
I don't understand could you please explain?
thanks
bullysheful is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 04:00 PM Re: Different browsers display problem
Banned

Posts: 905
Name: Travel Agent
Trades: 0
It displays correctly in the browsers; but you have the following syntax coded incorrectly, as shown in the bolded area:

<li><a onMouseOver="info.style.visibility='hidden'" href="">Pagina principala</a></li>
<li><a onMouseOver="info.style.visibility='visible'" href="">Informatii</a></li>
<li><a onMouseOver="info.style.visibility='hidden'" href="">Promotii</a></li>

Change the "hidden" to "visible"...
travelagent is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:08 PM Re: Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
the way i've coded it now......works but it doesn't validate as XHTML document....
does it matter???

Thanks
bullysheful is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:13 PM Re: Different browsers display problem
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
If you changed the code, it doesn't appear on your site.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-12-2007, 07:29 PM Re: Different browsers display problem
Banned

Posts: 905
Name: Travel Agent
Trades: 0
Quote:
Originally Posted by bullysheful View Post
the way i've coded it now......works but it doesn't validate as XHTML document....
does it matter???

Thanks
If it doesn't validate, you'll have to change your <!DOCTYPE Declaration>.
travelagent is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:33 PM Re: Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
that's my problem.....maybe i have expressed myself wrong in the first place....sorry....if i change my <!DOCTYPE declaration into anything else beside what it is now...the drop menu doesn't work in Fire Fox
bullysheful is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:36 PM Re: Different browsers display problem
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Wait...I might know what caused it.

document.getElementById('info').style

I forgot the close bracket.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-12-2007, 07:38 PM Re: Different browsers display problem
Banned

Posts: 905
Name: Travel Agent
Trades: 0
Quote:
Originally Posted by bullysheful View Post
that's my problem.....maybe i have expressed myself wrong in the first place....sorry....if i change my <!DOCTYPE declaration into anything else beside what it is now...the drop menu doesn't work in Fire Fox
Hmmm; everytime I've checked it in the current versions of the browsers, I had no problem seeing the drop-down.
travelagent is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:38 PM Re: Different browsers display problem
Banned

Posts: 905
Name: Travel Agent
Trades: 0
Quote:
Originally Posted by ADAM Web Design View Post
Wait...I might know what caused it.

document.getElementById('info').style

I forgot the close bracket.
Forgive Adam -- he's young and hasn't had his trifocals changed lately.
travelagent is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:41 PM Re: Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
let me see if I got this right : instead of
"<li><a onMouseOver="info.style.visibility='hidden'" href="">Pagina principala</a></li>" I must put :
<li><a onMouseOver ="document.getElementById('info').style.visibility='hidden'">what ever </a></li>????

i'm really foged
bullysheful is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:42 PM Re: Different browsers display problem
Banned

Posts: 905
Name: Travel Agent
Trades: 0
No; if you want the drop-down to show, why would you code it as "hidden"?
travelagent is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:43 PM Re: Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
ok "visible" but is the right sintax?
bullysheful is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:50 PM Re: Different browsers display problem
Learning Newbie's Avatar
Defies a Status

Latest Blog Post:
Astounding Republican Paranoia
Posts: 5,662
Name: John Alexander
Trades: 0
Okay, I'm totally confused. First of all, the back and forth makes no sense, it's like watching British TV.

But why would you want to hide your dropdown when someone puts their mouse over it?
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:55 PM Re: Different browsers display problem
Novice Talker

Posts: 12
Name: Iulian Miu
Trades: 0
no no no it was my mistake of copy/pasting something wrong....it doesn't matter you helped me excelent the site works, the menu works, it validates as XHTML 1.0 Transitional......it's perfect THANK YOU VERRY much

Iulian Miu @ Romania
bullysheful is offline
Reply With Quote
View Public Profile
 
Old 03-12-2007, 07:58 PM Re: Different browsers display problem
Banned

Posts: 905
Name: Travel Agent
Trades: 0
You're welcome - that's what we were trying to convey; sometimes it takes different eyes and explanations to get things right.
travelagent is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Different browsers display problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.52029 seconds with 12 queries