Author |
Topic |
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 28 January 2003 : 20:45:13
|
to test my theory, i went to a topic and clicked "new topic". then i clicked "click here" which loads policy.asp in the same window. i registered without the error message.
you can delete test3 now too. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 28 January 2003 : 20:50:08
|
Nikkol, remember when I was shown how to do a style=""cursor:hand? That is the only thing I have done to my header recently, so it could be the cause, right?
This is the link code I used: Response.write "<td style=""cursor:hand"" onClick=""window.open('policy.asp')"" width=""100%"" align=""center"" valign=""top"">" & vbNewLine |
Alfred The Battle Group CREDO
|
Edited by - Alfred on 28 January 2003 20:50:42 |
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 28 January 2003 : 20:55:41
|
yes, and onClick=""window.open('policy.asp')"" will open a new window. Plus you also have <a href="" in there too. You can try onClick=""document.location.href='policy.asp'"" instead. if that doesn't work, then take out the onClick arguement. |
Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~ |
|
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 28 January 2003 : 21:04:48
|
This seems to be what causes two policy windows to come up: quote: if (mlev = 0) then Response.write "<td style=""cursor:hand"" onClick=""window.open('policy.asp')"" width=""100%"" align=""center"" valign=""top"">" & vbNewLine Response.write "<font size=""1"">Not registered?<br>Do it here!<br></font>" %> <a href="policy.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','Images/Timer_ani.gif',1)"><img name="Image3" border="0" src="Images/registerA.gif" width="60" height="50"></a> <%
Would the whole <td> still function as a link if I took out the second link? Like this: quote: if (mlev = 0) then Response.write "<td style=""cursor:hand"" onClick=""window.open('policy.asp')"" width=""100%"" align=""center"" valign=""top"">" & vbNewLine Response.write "<font size=""1"">Not registered?<br>Do it here!<br></font>" %> <onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','Images/Timer_ani.gif',1)"><img name="Image3" border="0" src="Images/registerA.gif" width="60" height="50"></a> <%
|
Alfred The Battle Group CREDO
|
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
Alfred
Senior Member
USA
1527 Posts |
Posted - 28 January 2003 : 21:32:41
|
No, that didn't fix it either. I guess I'll have to go back to the way I had it before doing the "style curser:hand". It was just that I wanted to have the whole <td> be the link, but it really isn't that important.
I am sorry to have caused such fuss over a tiny cosmetic change! |
Alfred The Battle Group CREDO
|
|
|
Topic |
|