tag:blogger.com,1999:blog-21222625.post7542908699707818896..comments2023-10-26T08:02:30.987-04:00Comments on The Pothoven Post: ImageFlow with Lightbox LiteUnknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-21222625.post-78423844942393996002009-06-06T18:32:47.933-04:002009-06-06T18:32:47.933-04:00Hi Dennis,
Why not use lytebox instead and add a...Hi Dennis,<br><br /> Why not use lytebox instead and add a function:<br><br /> <script language="javascript"><br /> var timeoutID = null;<br /> function loadLytebox(id) {<br /> if (typeof myLytebox != 'undefined') {<br /> // if the myLytebox object exists, start it up!<br /> myLytebox.start(document.getElementById(id));<br /> } else {<br /> // wait 1/10th of a second and attempt loading again...<br /> if (timeoutID) { clearTimeout(timeoutID); }<br /> timeoutID = setTimeout('loadLytebox("'+id+'")', 1000);<br /> }<br /> }<br /></script><br /> <br><br /> and ref like <br /><a id="1" title="" rel="lytebox[start]" href="images_l/xxx.jpg"></a><br />on the page<br />and in the imageflow.js <br />loadLytebox(this.getAttribute('id')); }Blogmenothttps://www.blogger.com/profile/10577645716471115956noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-18107857414036623262008-01-23T09:34:00.000-05:002008-01-23T09:34:00.000-05:00In response to nev's early message, the line:<i...In response to nev's early message, the line:<BR/><BR/><img id="lightboxImage" style="display:none"><BR/><BR/>should be changed to:<BR/><BR/><img id="lightboxImage" style="display:none"></img><BR/><BR/>or you get a validation error that img should be an empty element.Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-36610530973732635892008-01-22T19:55:00.000-05:002008-01-22T19:55:00.000-05:00Sure, I'll package it up.Sure, I'll package it up.Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-46906638406235448972008-01-22T10:28:00.000-05:002008-01-22T10:28:00.000-05:00Hi! i would prefer this version of "imageflow" - ...Hi! i would prefer this version of "imageflow" - its excellent, especially for my needs! <BR/><BR/>i did try to include these stuff above in my code, but i didn't work, i've always some terrible bugs in my layout ... <BR/><BR/>So i like to ask you too: do you have a downloadable file with the working files?<BR/><BR/>cheers<BR/>ClemensAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-81863322801171934872008-01-20T16:58:00.000-05:002008-01-20T16:58:00.000-05:00Well you can see it isn't xhtml! Of course it won...Well you can see it isn't xhtml! Of course it won't pass any xhtml validator - but all that's a minor thing.. I was just wondering if I picked up a typo.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-18159945823544809592008-01-20T14:18:00.000-05:002008-01-20T14:18:00.000-05:00That should be fine. If you run it through someth...That should be fine. If you run it through something like the W3C validator you'll get an error saying, <I>required attribute "SRC" not specified. <BR/>The attribute given above is required for an element that you've used, but you have omitted it.</I> <BR/>However,the browser should be ok with it allowing you to define the src in the lightbox code. In the W3C validator, you'll probably also get an error about not "alt" attribute, feel free to add one.<BR/>What error are you getting?Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-24744889269781876672008-01-19T16:23:00.000-05:002008-01-19T16:23:00.000-05:00OK I managed to replicate this...One thing.. is th...OK I managed to replicate this...<BR/><BR/>One thing.. is this non-validating line written right:<BR/><BR/>[ img id="lightboxImage" style="display:none" /]<BR/><BR/>(html brackets changed)<BR/><BR/>I know this is the js output you hard-coded, and js can write some weird stuff, but is it right?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-52841836666768954952008-01-18T22:05:00.000-05:002008-01-18T22:05:00.000-05:00That looks fantastic! But do you have a zip file ...That looks fantastic! But do you have a zip file with the working files? It's getting hard to see what's generated by the js and what isn't!Anonymousnoreply@blogger.com