I hate browsers!

From: Peter (BOUGHTONP)21 Jul 2011 04:34
To: ALL1 of 30
All of them, especially IE.

X-P
From: graphitone21 Jul 2011 08:42
To: Peter (BOUGHTONP) 2 of 30
Ditto, I'm making a website at the moment, everything's fine in FF, as soon as I try it in IE, stuff's moved around, there's borders 'round the java bits and one image has randomly vanished and refuses to appear. :C
From: af (CAER)21 Jul 2011 09:53
To: graphitone 3 of 30
Java :&

And hey, IE makes life difficult for web devs, who knew? :p
From: graphitone21 Jul 2011 10:20
To: af (CAER) 4 of 30

I'm fairly new to this whole web design thing (never been much of a code monkey) so I've been looking round for examples of galleries I can pilfer and turn to my own means.

 

Found a nice sliding one that shows one image at a time but slides to the next image when a link's clicked.

 

It being java/jquery based is just a coincedence, it's what I found on the 'net as a tutorial and used that. Is there a better way of doing it?!

From: af (CAER)21 Jul 2011 10:32
To: graphitone 5 of 30

Are you sure it's Java, and not JavaScript? They are not at all the same thing.

 

Also, if you ask nicely I might add Previous/Next buttons to my QuickSlide image viewer thing.

EDITED: 21 Jul 2011 10:33 by CAER
From: graphitone21 Jul 2011 10:59
To: af (CAER) 6 of 30

:-$ Could be, could be. I'm not up to speed with all the differences!

 

I like the quickslide thing you've done - that'd be ace for my photo/drawing gallery pages. Some buttons would be an appreciated addition!

 

Payment could come in the form of chocolate or flattery, which ever you prefer. :)

From: af (CAER)21 Jul 2011 11:09
To: graphitone 7 of 30
Just knowing someone is using it would be payment enough.
From: graphitone21 Jul 2011 11:25
To: af (CAER) 8 of 30
Spoken like a true gent. :-{)
From: graphitone21 Jul 2011 12:19
To: Peter (BOUGHTONP) 9 of 30

Sorry, Pete. Hijacked your thread there before you'd had a chance to elucidate. :-O

 

What troubles are you having?

From: Ken (SHIELDSIT)21 Jul 2011 13:13
To: Peter (BOUGHTONP) 10 of 30
I knew who started this thread before I even opened it!

I like Chrome. And I'd have a hard time seeing the internet without it!
From: af (CAER)21 Jul 2011 14:24
To: Ken (SHIELDSIT) 11 of 30
I think Peter is getting frustrated that all browsers do some things just slightly differently, enough so to mean web devs need to waste hours on fixing what should be trivial issues. IE (at least versions < 9) is particularly bad at not doing what it's supposed to, or doing it really slowly.
From: Ken (SHIELDSIT)21 Jul 2011 14:26
To: af (CAER) 12 of 30
Yeah I remember those days. Very frustrating.
From: Peter (BOUGHTONP)21 Jul 2011 14:34
To: af (CAER) 13 of 30
I haven't even tested IE9 because I can't be fucked with the setup hassle.

I tried the IE10 preview and it's got a shit installer that doesn't work.

IE8 is functional, though I had to duplicate a chunk of jQuery and change it slightly to make it work (and make my code more brittle), and I still couldn't figure out why borders aren't showing, so it looks crap.

I get unnecessary scrollbars in IE and Chrome, but not in the others.

etc.

I got things good enough, but I'm pissed off stuff so simple doesn't behave consistently nor as expected.
From: ANT_THOMAS21 Jul 2011 14:38
To: af (CAER) 14 of 30

I've just uploaded the new QuickSlide files to replace my old ones and I've broken it.

 

Before I start digging any ideas?

From: ANT_THOMAS21 Jul 2011 14:39
To: af (CAER) 15 of 30
And by not working it's just opening the image in a new tab (Chrome) rather than in the QuickSlide box.
Message 38724.16 was deleted
From: af (CAER)21 Jul 2011 15:09
To: ANT_THOMAS 17 of 30
Hrmm, possiby. I changed the options thing around a bit. What options are you using now? Could you provide a demo page?

Edit: to clarify, it should work fine even if you don't specify any options at all, so long as you have rel="quickslide" in your links' attributes.
EDITED: 21 Jul 2011 15:13 by CAER
From: ANT_THOMAS21 Jul 2011 15:39
To: af (CAER) 18 of 30
From: Ken (SHIELDSIT)21 Jul 2011 16:01
To: Peter (BOUGHTONP) 19 of 30
Peter if you ever need someone to test pages for you let me know. I have Chrome, IE8, IE9 and for you I'd even install FF.
From: af (CAER)21 Jul 2011 16:01
To: ANT_THOMAS 20 of 30
Ok, fixed it now. Because you're putting the script tags in the document head, it's failing when it tries to add the dimmer and box to the document body, because that doesn't exist yet. I've changed it so it waits for the window onload event before adding the elements (unless you specify the no_wait option). New version uploaded to my site.

Also, you should put script tags at the end of the document, just before the closing body tag, as they block page rendering until the files they reference have been loaded and parsed. This isn't so bad if you're just loading files from your own server, but if you ever need to load external ones (e.g. jQuery from the Google CDN) it could make your page appear to load slower than necessary.