#1011 by Pete
26 Apr 2004, 02:00
I've added a new page to VirginFlyer today, http://www.virginflyer.com/seatmaps.asp - which provides a quick reference on the seat maps if you want to compare the different aircraft (rather than going through the full seat ratings page or aircraft databases).

Pix
#30227 by AlanA
26 Apr 2004, 08:46
Hi Pix,

I cannot get the thumbnails to open, it just says "javascript" in the dialogue box at the bottom of the page
#30229 by Pete
26 Apr 2004, 09:21
Hi Alan,

Which browser (and which version) have you got?

Pix
#30230 by AlanA
26 Apr 2004, 09:30
MS IE, Version 6.0.2800.1106.xpsp2.030422-1633
#30234 by mcuth
26 Apr 2004, 10:33
Pix

Looks excellent, thanks :)

What's very strange is that I have a similar sort of problem to Alan.
3 machines, all running W2k SP4 + IE 6.0.2800.1106 (128bit enc.):
1 (home this morning) - no problem at all
1 (test box at work) - no problem at all
1 (work laptop) - will only display the picture if you right click the thumbnail, although I can see that the "placeholder" for the pictures is there if I make a selection to include that part.

Curious.....[?]

Cheers

Michael
#30235 by AlanA
26 Apr 2004, 10:37
I have just checked and both my laptop and my desktop are showing the same problem of not opening the thumbnail. Both same version of IE and both Windows XP SP1
#30241 by Pete
26 Apr 2004, 13:43
Hmmm... can't seem to reproduce the problem on my Mac or W2K box. Could be an XP thing, or maybe not...

Richard! help!;)
#30242 by mcuth
26 Apr 2004, 13:55
Pix
quote:Could be an XP thing, or maybe not...


I'm on W2k (for my sins :D)

Michael
#30243 by jilly
26 Apr 2004, 14:01
FYI I use Windows XP and no problem here
#30247 by ghagger
26 Apr 2004, 14:44
Probably something to do with security settings in IE. One of you guys might wanna compare whats deep in IE's advanced settings between a machine that works and one that doesn't
#30250 by mcuth
26 Apr 2004, 14:59
ghagger

Thanks, but done that one already - it's a strange one alright. [xx(]

Cheers

Michael
#30262 by BlackCat
26 Apr 2004, 17:27
Try clearing your cache in IE and see if that improves things.

BC
#30263 by RichardMannion
26 Apr 2004, 17:35
Works fine for me and I'm using XP on all my machines!

Even works fine on XPSP2 RC1 :)

Thanks,
Richard
#30268 by AlanA
26 Apr 2004, 18:03
Tried all of that, still no pop ups.
The small pictures are there, but when you click on the little picture (it has changed to a hand by the way) nothing happens.
In the bottom line of IE all it shows for each picture is "javascript:;"
#30279 by Pete
26 Apr 2004, 18:42
Alan, it's not a pop up you should be seeing; the full-sized map should appear below the line of thumbnails. The 'javascript:;' in the status bar is expected, as that's the 'dummy' link (ie, a blank link, just so I can attach a control to the mouse click).

Can't quite fathom why it's working on some and not on others yet - I've still yet to find a way of reproducing the problem, so a bit stuck so far.

Pix
#30284 by AlanA
26 Apr 2004, 18:57
Pix,
nope, nothing but white undernieth.
I dont have a problem with JS on any other web site, nor in other areas of this web site.
#30297 by mcuth
26 Apr 2004, 20:08
Well, after flushing my cache, dumping my core, and eating my cookies, it looks like it's ok now :D Strange how this laptop was the only machine that didn't like it *shrug*

Thanks for the suggestions all :)

Michael
#30328 by vsdan
26 Apr 2004, 21:02
Yes, it looks great and it is really easy to navigate through the seatmaps, thanks!
#30500 by Bazz
28 Apr 2004, 17:28
Pix, useful and fast feature, could you put a description on the page to say what config you are viewing, useful if printing hardcopy to take away.

Also, are you putting this feature into the mobile.virginflyer.com section?
#30503 by Vslf
28 Apr 2004, 17:38
Excellent work as ususal Pix.

Great to have them all there on the one page.

VSlf
#30787 by HighFlyer
01 May 2004, 10:48
For you guys getting the 'Javascript ()' window ....

Are you clicking on the link, or opening it up in a new browser window? If so, i know you get a Javascript message if you do that?
#30795 by Pete
01 May 2004, 12:12
The errors are still a mystery to me, since I can't reproduce them, and as mcuth mentioned (after 'dumping his core'..!) it sounds like a machine-specific thing. Hmmm... As HighFlyer also mentioned, trying to open in a new window won't work because of the way the code works.

Anyways, here's what the page is attempting to do (understanding sometimes leads to a solution!).

When the page loads, it also pre-loads all the images of the seatmaps in the background. On a dial-up connection it could be possible that the maps haven't completely loaded before you start clicking.

On the default page (before you start clicking), the image at the bottom of the page is a 1-pixel x 1-pixel transparent square (ie, invisible). When you then click on one of the thumbnail images, a simple javascript command replaces that 1-pixel image with the appropriate seatmap that has loaded in the background.

So, a couple of possible areas that might cause problems. If you have javascript turned off on your browser (sometimes this happens when you turn your security settings to the max), or you're not on a broadband connection and trigger-happy as soon as the thumbnails appear, either of those could potentially cause problems.

Apologies for the techno-babble, but thought an explanation of what's going on behind the scenes might help those still having problems (and also give me clues if there's anything I can do to work around them!).

Pix
#30797 by AlanA
01 May 2004, 12:57
OK,
soilved my problem.
If I click once nothing happens. I have to double click on the image!
Virgin Atlantic

Who is online

Users browsing this forum: No registered users and 1 guest

Itinerary Calendar