Current location: Hot Scripts Forums » Programming Languages » ASP » Single click refreshing with target of _top


Single click refreshing with target of _top

Reply
  #1 (permalink)  
Old 09-22-04, 07:57 PM
Deezul Deezul is offline
New Member
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Single click refreshing with target of _top

G'day all, I'm a bit of a beginner and have come across something that's got me stumped. Throughout the application I'm working on, there are a number of search result lists, all displayed using tables. Each row is set up so that a single click highlights the row, whereas a double click will navigate to another page. All works nicely. On one page, I've got two iframes (for reasons I won't go into here) and both display these tables (search results). I want these tables to act the same as the ones not in iframes - ie. single click highlights the row, double click navigates to a new page with the target set to _top. To do this, I've set an anchor around each row and cancelled the normal single click functionality:

<a
onClick="return false"
href="#"
onDblClick="self.parent.location='destination page'"
target="_top">

<tr
id=id
onBlur="PassOverTR(this,'white')"
onFocus="PassOverTR(this,'<%=Application("MouseOve rColor")%>')"
onClick="OnSelect(this)"
onmouseover="this.focus();">

etc, etc. Now it all works beautifully for everyone except one user, who when they single click on the row, it refreshes the page with that iframe taking up the whole IE window. ie. it redraws the contents of the iframe with target of _top but doesn't navigate away.

So my question (finally) is does anyone know why that would be happening for that one user? Are there any IE settings or anything that would cause that?

Cheers.

Deez.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
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
Left click save target as boyingtonb JavaScript 1 10-20-03 06:11 PM


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