Computer Hope
Internet & Networking => Web design => Topic started by: Zylstra on April 08, 2007, 12:09:15 AM
-
I was viewing a video and I noticed that I could make it bigger
The address in the address bar before I did this was something like
http://www.lookatentertainment.com/v/v-1448.htm
(Cant say if thats an appropriate video or not... I think its just people getting hurt)
So I clicked 'Large' and suddenly the address turns to
http://www.lookatentertainment.com/v/v-1448.htm?size=LARGE
Now, I have seen the "?" and its following action in PHP and Perl, and a few other web application formats, but never in a .htm hypertext format.
How was this done?
-
Huh that is interesting and although I don't have a definite answer I'd still assume it's some type of scripting language Perl/PHP/ASP that's just generating the page. Possibly SSI? Not sure, but it's not plain HTML.
-
Its just weird since normally you dont see a .htm with a following action.
-
It's a variable in their javascript coding, and you can use "window.location" to pull the variable out and use it.
-
Very interesting
Know of any places to learn about how to do this?
-
http://www.htmlgoodies.com/beyond/javascript/article.php/3471111
-
Thanks for the page
(Applaud)
(A bit confusing... I think I will stick to HTML and templates)
-
(applaud) Was not aware something like this was possible with JavaScript. Thanks for sharing fffreak. :)
-
No problem, I too had the same question a few years back.