PDA

View Full Version : Expanding iframes?



Agnostic Bear
06-02-2007, 06:03 PM
Right, I went on clubhabbo and browsed their site for a while and I noticed... their expandable iframe *****s up, it doesn't expand in places and it doesn't shrink in places.

The expandable iframe uses Javascript, right?
Why not use Ajax, vote your answers with the clicky poll

F32
06-02-2007, 06:35 PM
JS is easier, and simpler.

It will work, you just have to give it time if it's a big page.

Agnostic Bear
06-02-2007, 07:27 PM
JS is easier, and simpler.

It will work, you just have to give it time if it's a big page.

Ajax is javascript....
Or can be made from it, not too sure on that one.

F32
06-02-2007, 07:29 PM
Mhmm.

Why would 2 coding languages be the same?

JamesRouale
06-02-2007, 07:31 PM
Ajax is a form of Javascript I believe.

Correct me?

F32
06-02-2007, 07:35 PM
Asychronous Javascript
Meeeeeeeeeeeeeeeeeeeep.

It is then.

:l

[Oli]
06-02-2007, 07:53 PM
Whats the point in using expandeble iFrames ???
Might aswell use Div's and go for the Valid xHtml mark.

no?

F32
06-02-2007, 07:53 PM
;3090686']Whats the point in using expandeble iFrames ???
Might aswell use Div's and go for the Valid xHtml mark.

no?
Ease of use.

[Oli]
06-02-2007, 07:58 PM
Ease of use.

Ok, I can get into that opinion but just to say, at school I'm in webdesign cource called multimedia basicly its all webdesign & flash etc..

But we also get xHtml, where we learn all the strict norms of webdesign, so sometimes I might sound a litle strict, but blame the school ^^

anyway, what I was about to say, ease isn't always the best way to go. (if you'ld like it to be proffesional)

But I understand why people want to go for the ease part.
Thats just my opinion

F32
06-02-2007, 08:04 PM
Professionalism includes .asp and .net framework or something.

But, includes are great - iframes are there for ease of use.

Depends on the stie really.

Luckyrare
06-02-2007, 08:05 PM
I dont see how it makes it that much easier. AJAX is JavaScript, basically a style. Stands for Asynchronous JavaScript And Xml.

I would go for the AJAX... Iframes suck ***. The expandable iframes work using JS

Agnostic Bear
06-02-2007, 08:48 PM
Asynchronous JavaScript And Xml.

No it doesn't stand for that actually, it's just what most people say it is, read an article by the creator of ajax somewhere!

Anyway, I think I'm gonna go for Ajax, no page refreshing, doesn't stop the radio... always expands correctly

It's all good ;D

F32
06-02-2007, 09:06 PM
No it doesn't stand for that actually, it's just what most people say it is, read an article by the creator of ajax somewhere!
So the creator lied?

Luckyrare
06-02-2007, 09:33 PM
No it doesn't stand for that actually

Yeah but yes it does. So please don't correct me with wrong info.

o... Wikipedia is wrong
http://en.wikipedia.org/wiki/Ajax_(programming (http://en.wikipedia.org/wiki/Ajax_%28programming))

o... Mozilla is wrong
http://developer.mozilla.org/en/docs/AJAX:Getting_Started

Anyway <3

Heinous
06-02-2007, 11:12 PM
Yeah but yes it does. So please don't correct me with wrong info.

o... Wikipedia is wrong
http://en.wikipedia.org/wiki/Ajax_(programming (http://en.wikipedia.org/wiki/Ajax_%28programming))

o... Mozilla is wrong
http://developer.mozilla.org/en/docs/AJAX:Getting_Started

Anyway <3
I also read the same article (or similiar, but same point), and just decided to find proof of it.

Take from the first line in "History" in Ajax's article.

The first use of the term in public was by Jesse James Garrett (http://en.wikipedia.org/wiki/Jesse_James_Garrett) in February 2005[1] (http://en.wikipedia.org/wiki/Ajax_%28programming%29#_note-garrett). Garrett thought of the term when he realised the need for a shorthand term to represent the suite of technologies he was proposing to a client[2] (http://en.wikipedia.org/wiki/Ajax_%28programming%29#_note-acronym).
Citation #2, is..

^ (http://en.wikipedia.org/wiki/Ajax_%28programming%29#_ref-acronym_0) At subsequent talks and seminars Garrett has made the point that Ajax is not an acronym (http://en.wikipedia.org/wiki/Acronym).
On the very first line of the article it says Ajax is shorthand for asynchronous javascript & xml.

Learn the god damn difference between the two terms, before you start making sarcastic replies.

Anyway, AJAX > iFrames. I care about coding XHTML 1.1 (and 2.0 when it's 'released'/ready). End of.

Mentor
06-02-2007, 11:29 PM
Ajax is a technique which uses javascript and xml, most commonly cented about xmlhttp requests to my knowlage.

Also iframes, when used right can be a decent feature. But as always, when used wrong, can be horrible. The sames true of javascript, id much rather see a webpage with a working iframe, than a javascript navigation that doesnt actualy function o.0

Want to hide these adverts? Register an account for free!