Current location: Hot Scripts Forums » General Web Coding » CSS » using css or javascript for paging nav in php page


using css or javascript for paging nav in php page

Reply
  #1 (permalink)  
Old 12-23-05, 01:16 AM
sagaquisces sagaquisces is offline
New Member
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
using css or javascript for paging nav in php page

I've been playing with a paging nav, both as text links in css and image rollovers in javascript, then css. At least in Mozilla 5, I'm finding that both a:hover and onMouseOver require mouse movement before firing. So here's the deal: blah.php?page=5 is loaded in my browser window with all content visible (no scrolling necessary)...I roll over, let's say, a "Previous" text or image link (doesn't appear to matter), I click, blah.php?page=4 loads with the navigation loading in the same spot in the browser window, with the mouse pointer still over the "Previous" link. The hover effect will not fire unless I move the pointer (even one pixel). Am I overlooking something obvious here, or is there a workaround, perhaps associated with the onLoad event, that checks to see if the mouse coordinates coincide with an element that has a hover style or onMouseOver event? I haven't experimented with an onClick event yet, but that is not passed to the subsequent loaded page, is it? Which would not solve my problem.

Thanks, Michael
Reply With Quote
  #2 (permalink)  
Old 12-23-05, 02:10 PM
sagaquisces sagaquisces is offline
New Member
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
more on the above

Since the project I'm working on an intranet, I can't point you to my example. But here is a link I found that uses css previous and next links similarly:

http://we04.com/gallery/index.cfm?StartRow=81

If you click on previous or next, the new view appears. If your pointer is still over the link when the new page view is loaded and you have not moved your mouse, the hover effect is gone in Mozilla 5, along with the link hand. In IE6 it works as expected (initially loses hover effect and link hand, but quickly updates at end of load).
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
Use of CSS within PHP CutAndPaste PHP 5 07-11-05 07:27 AM
PHP multi-dimensional array sorting issue aqw PHP 2 06-24-05 11:09 PM
Mouseover with Single PHP page rjwebgraphix PHP 7 09-16-04 05:15 PM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM


All times are GMT -5. The time now is 01:46 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.