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.

CSS Forum


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



Reply
CSS submenu's not working with embeded PHP
Old 03-03-2010, 02:32 AM CSS submenu's not working with embeded PHP
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
hi,
I have changed my website to end in php and now have prblems with my left navigation sub menu's, When I hover over "About Thailand" on the following link http://www.thai-discovery.com/phuket-Thailand.php

I coped all of the li tags as follows and saved them onto a leftnav.php file

Quote:
<li> <a href="#" class="vertmenu"><img src="http://www.webmaster-talk.com/images/sub menu button.png" width="12" height="8" align="right" border="none"/>About Thailand</a>
<ul>
<li><a class="vertmenu" href="Thaimonarchy.html">Thai Monarchy</a></li>
<li><a class="vertmenu" href="Thai-history.php">Thai History</a></li>
<li><a class="vertmenu" href="thai-culture.php">Thai Culture</a></li>
<li><a class="vertmenu" href="Thai-cuisine.php">Thai Cuisine</a></li>
</ul>
I replaced the above code with
HTML Code:
<?php include_once ('incl/leftnav.php'); ?>
So why would my nav sub menu's suddenly stop working?
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]

Last edited by TheDon; 03-03-2010 at 05:32 AM..
TheDon is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-03-2010, 10:38 AM Re: CSS submenu's not working with embeded PHP
mik
mik's Avatar
Experienced Talker

Posts: 31
Location: United Kingdom
Trades: 0
Firstly, don't plagiarise or hot link other website's property:
Quote:
Originally Posted by TheDon
http://www.webmaster-talk.com/images/sub menu button.png
Furthermore, that file doesn't even exist.

Your website, http://www.thai-discovery.com/phuket-Thailand.php, doesn't exist either. However, http://www.thai-discovery.com/phuket-Thailand.html does exist and the sub navigation of the left-hand navigation does work for me. I am using Google Chrome 4.0.
mik is offline
Reply With Quote
View Public Profile
 
Old 03-03-2010, 09:28 PM Re: CSS submenu's not working with embeded PHP
TheDon's Avatar
Extreme Talker

Posts: 216
Name: Don
Trades: 0
Firstly, I did not plagiarise, it changed the link when I pasted automatically.
Secondly, I have solved the problem as I was just missing a class.
__________________
[
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
] [
Please login or register to view this content. Registration is FREE
]
TheDon is offline
Reply With Quote
View Public Profile
 
Old 03-04-2010, 02:29 PM Re: CSS submenu's not working with embeded PHP
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Firstly, don't plagiarise or hot link other website's property:
He didn't, the forum software has a bad habit of altering the urls to 'webmaster-talk'.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS submenu's not working with embeded PHP
 

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.44999 seconds with 12 queries