View Full Version : pop-up, close, accessibility..
undyingfires
01-21-2003, 02:57 PM
I cut this entry out to save scrolling space
Thanks so far for your help Borgtex
:)
I didn't worry 'about the mouse over stuff. I just need a good way to code all this.
Borgtex
01-21-2003, 04:57 PM
i removed the mouseovoers & outs to make it clear
<a href="pop/english/thistle/thistle2_e. html" target="_blank" onclick="MM_openBrWindow(this.href ,'','scrollbars=yes,resizable=yes,width=400,height=450');return false" >
<img src="images/reduction/thistle2-s.jpg" width="75" height="100">
</a>
undyingfires
01-22-2003, 03:57 PM
I found out today while playing around that the JS in the <IMG> tag actually doesn't work in NS4.7 :(
I know some may think that NS is a beast, but we have to make sure everyone (well close enough) can access our pages regardless of version/type of browser and ability.
Our pages are ASP, and everything worked fine when they were HTML :| (I didn't code this module, a contracter did)
CLF is my bible - considering it's a government site. Just FYI.
------------------------------------------------
-------------------------------------------------
Original codes:
<!--img src="images/nat_strategy/03-31-10-11-01-s.jpg" width="75" height="50" align="right" onClick="MM_openBrWindow('pop/english/national-strategy/03-31-10-11-01_e.html','','scrollbars=yes,resizable=yes,width=400,height=450');return true" alt="Northern Leopard Frog"-->
-------------------------------------------------
-------------------------------------------------
I now have this on the page::.
-------------------------------------------------
<a href="pop/english/national-strategy/03-31-10-11-01_e.html" target="_blank" onclick="MM_openBrWindow('pop/english/national-strategy/03-31-10-11-01_e.html','','scrollbars=yes,resizable=yes,width=400,height
=450');return false" >
<img src="images/nat_strategy/03-31-10-11-01-s.jpg" alt="Northern Leopard Frog" title="Northern Leopard Frog">
</a>
-------------------------------------------------
This is great. However; is this not the same as a simple hyperlink...?
-------------------------------------------------
<a href="pop/english/national-strategy/03-31-10-11-01_e.html" target="_blank">
<img src="images/nat_strategy/03-31-10-11-01-s.jpg" alt="Northern Leopard Frog" title="Northern Leopard Frog">
</a>
-------------------------------------------------
Also, the window doesn't take the size specified, nor the guidelines/properties and tho this isn't a major thing, the appearance of it would be nice :)
Continued thanks for any help :)
Oh and the browsers I am testing this page in, includes:
IE 6 (JS and Java enabled)
All and Everything is excellent!
NS 4.7 (JS and Java enabled)
Original code doesn't work
Above altered code works without size and window properties
Hyperlink works (duh right ;) heh)
NS 7 (JS and Java enabled)
Original code does work
Above altered code above doesn't work
Hyperlink works
Opera 6 (JS and Java disabled for testing)
Original code won't work (js disabled)
Above altered code works without size and window properties
Hyperlink works
Borgtex
01-22-2003, 04:45 PM
Errr... All that is another question (and wich one) or only a comment?
brothercake
01-22-2003, 04:47 PM
Originally posted by undyingfires
I know some may think that NS is a beast, but we have to make sure everyone (well close enough) can access our pages regardless of version/type of browser and ability.
Absolutely, but accessibility is about graceful degrading, not making [unecessary] script features work in primitive browsers. You can always do something like:
<a href="page.html" target="_blank" onclick="open('page.html','properties');return false">
undyingfires
01-22-2003, 05:30 PM
Mmm.. okay understood.
Thanks, and I'll be sure to give that line of code a try. :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.