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.

PHP Forum


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



Freelance Jobs

Reply
1 image location, changes images according to what link is moused over
Old 10-15-2007, 09:36 PM 1 image location, changes images according to what link is moused over
Dudeman's Avatar
Novice Talker

Posts: 5
Name: Drake o
Location: A very interesting planet indeed!
Trades: 0
- I need this script, or how to implement it into the navigation of my site so when one puts the mouse over say, the "issues & solutions" , the bar at the top will change from the various pre-loaded images associated with each part of the nav menu (just over my: HOME ISSUES & SOLUTIONS FORUM LINKS,) - When someone hovers over each part of the navigation links, basically the image will change to illustrate what its about. This has been seen on many sites, & I want to do it in PHP, because it has to ber for everyone (javascript being turned off wouldnt be great).

Thanks!

PHP or CSS, whatever is less difficult.
Dudeman is offline
Reply With Quote
View Public Profile Visit Dudeman's homepage!
 
 
Register now for full access!
Old 10-15-2007, 11:16 PM Re: 1 image location, changes images according to what link is moused over
Extreme Talker

Posts: 238
Location: United States
Trades: 0
You can't use PHP to do what you are talking about. PHP is a server-side language, meaning that everything it does is done before the page loads and before the user interacts with the page.

You might be able to do it in pure CSS. Obviously you'd have to use the :hover pseudoclass, and you'd probably use something along the lines of display: block; on the correct image, but I can't think how to link them together at the moment, so maybe it isn't possible.

I think JavaScript is the best solution for this. True, users may turn it off, but I'm fairly sure that number is very low. You have to use the mouseover event, and you'd probably toggle your image styles between display: none; and display: block;.
__________________
The interlocking pieces of web development: usability, performance, accessibility, and standards.
frost is offline
Reply With Quote
View Public Profile
 
Old 01-23-2008, 09:54 AM Re: 1 image location, changes images according to what link is moused over
Dudeman's Avatar
Novice Talker

Posts: 5
Name: Drake o
Location: A very interesting planet indeed!
Trades: 0
okay, I'd like to delete all my posts, because my problems have been solved, & I'd rather if my posts did not come up in Google searches, because it seems unprofessional, if you know what I mean.

Thankyou.
Dudeman is offline
Reply With Quote
View Public Profile Visit Dudeman's homepage!
 
Reply     « Reply to 1 image location, changes images according to what link is moused over
 

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