![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have incorporated a little bit of javascript into my website. I used 'Lightview', one of the Lightbox clones and it works well enough on my desktophttp://www.jimscot.myby.co.uk/Latest/Latest.html. The site itself works fine on my mobile (cellphone) until I click on the thumbnails then all I get is a white screen. Do mobiles not run javascript or have I to learn something else new? -- Jim S * * * * Tyneside UK * * *www.jimscott.co.uk |
#3
| |||
| |||
|
|
On Nov 6, 8:15*pm, Jim S <j... (AT) jimXscott (DOT) co.uk> wrote: I have incorporated a little bit of javascript into my website. I used 'Lightview', one of the Lightbox clones and it works well enough on my desktophttp://www.jimscot.myby.co.uk/Latest/Latest.html. The site itself works fine on my mobile (cellphone) until I click on the thumbnails then all I get is a white screen. Do mobiles not run javascript or have I to learn something else new? -- Jim S * * * * Tyneside UK * * *www.jimscott.co.uk Hi, How can 'Lightview' be considered "light" using Prototype.js (4872 lines), script.aculo.us effects.js (1130 lines), scriptaculous.js (60 lines), and three hundred more lines of lightview.js itself? With so many code lines from so different libraries, I think that it should be extremely difficult to know why the site doesn't work in mobile phones. Cheers, JR |
#4
| |||
| |||
|
|
Thanks JR Like I said it's my first venture into javascript. I chose it because of the separate navbar, but that's not an essential. What is your lightbox program of choice or that of this ng? |
#5
| |||
| |||
|
|
I have incorporated a little bit of javascript into my website. I used 'Lightview', one of the Lightbox clones and it works well enough on my desktop http://www.jimscot.myby.co.uk/Latest/Latest.html. The site itself works fine on my mobile (cellphone) until I click on the thumbnails then all I get is a white screen. Do mobiles not run javascript or have I to learn something else new? |
#6
| |||
| |||
|
|
On Nov 6, 9:26*pm, Jim S <j... (AT) jimXscott (DOT) co.uk> wrote: Thanks JR Like I said it's my first venture into javascript. I chose it because of the separate navbar, but that's not an essential. What is your lightbox program of choice or that of this ng? Hi Jim, Many people in this ng are against 'cute effects' on a web page and huge libraries such as Prototype, Script.aculo.us, jQuery, etc. So I think c.l.js won't be of great help for you in this case. I'd like to suggest that you address the problem to the developer of 'Lightview', at http://www.nickstakenburg.com/projects/lightview/ Another suggestion, if you don't mind, would be developing an 'mobile site', thus more adequate for mobile phone users, the same way many companies do. E.g: http://www.mirror.co.uk/mobile/ Please read this good article about mobile websites: http://econsultancy.com/blog/3032-best-practice-tips-for-mobile-websites Cheers, JR |
#7
| |||
| |||
|
|
Le 11/6/09 11:15 PM, Jim S a écrit : I have incorporated a little bit of javascript into my website. I used 'Lightview', one of the Lightbox clones and it works well enough on my desktop http://www.jimscot.myby.co.uk/Latest/Latest.html. The site itself works fine on my mobile (cellphone) until I click on the thumbnails then all I get is a white screen. Do mobiles not run javascript or have I to learn something else new? I see that this page launches a lot of JS libs (see below) If you have no real use of biggest ones, for "ligtboxing" you may use Litebox that doesn't need any other lib to work : http://www.dolem.com/lytebox/ and that is much less heavy Weight of the page Latest : Documents (1 fichier) 4 Ko Images (18 fichiers) 26 Ko Objects (0 fichiers) Scripts (9 fichiers) 219 Ko StyleSheets (2 f) 11 Ko Total 261 Ko So ... 219ko of JS just for 30ko of real data ... Is it a good idea relatively with phones ? |
?![]() |
| Thread Tools | |
| Display Modes | |
| |