yandr

msg:4296143 | 1:47 pm on Apr 12, 2011 (gmt 0) |
This is really ugly. Why are you doing that?
|
lleemon

msg:4296210 | 3:22 pm on Apr 12, 2011 (gmt 0) |
Looking for a jQuery lightbox that has a link in the lightbox. That is how I am doing it today. Do you know of a better option?
|
phranque

msg:4296520 | 11:32 pm on Apr 12, 2011 (gmt 0) |
the rel attribute is defined by conventional DTDs as being a Link type [w3.org] rather than a uri.
|
ergophobe

msg:4297934 | 10:12 pm on Apr 14, 2011 (gmt 0) |
<a href="popup-page.html" id="link1" onclick="window.open('popup.html');return false;">Link text</a> Even better, use the DOM to hook into normal HTML so that it simply looks like <a href="popup-page.html" class="lightbox">Link text</a> I can't think of any reason for the <a href="#"> or <a href="javascript:blah blah blah"> syntax
|
phranque

msg:4298023 | 1:04 am on Apr 15, 2011 (gmt 0) |
progressive enhancement: it should work properly without javascript enabled. then figure out how to make cool stuff happen with event handlers. then make sure it is still usable without javascript.
|
ergophobe

msg:4300092 | 10:08 pm on Apr 18, 2011 (gmt 0) |
what phranque said - which is basically the theory behind the code I posted previously. I was just forced to order 12 products from a site where every single link was javascript driven. Couldn't open in a new tab (thus no side-by-side comparison). Terrible. I would have abandoned if anywhere else had this stuff.
|
|