|
|
|
Joined: Jul 2001
Posts: 145
Member
|
Member
Joined: Jul 2001
Posts: 145 |
Ok, heres my situation. I've been working on a small website and i got my index2.html about 600x412px but i just put it in a table in the middle of a white page. From my index.html (which is a full sized page) i want the index2.html to popup in a small 600x412 screen. How would i do this? I've been using fp2002 for the htmling i use both the wysiwyg mode and the text edit mode (i do this is i learn html slowly but surely) When i click on the image on the front page it loads the page but not as a window. I know why, simply i set it up to do so. But the text link i tried to set up so it opens the window... But it won't... What did i do wrong and how do i fix it. EDIT: And please note that i want all the toolbars, statbar, etc.. gone... so its just the page in a window with the title and the close buttom. Edit: code formatting breaks our tables, and you didn't even need to post any code for me to figure out what you wanted.
Look ma' No hands
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
javascript:popUp('index2.html') does nothing. In fact, it does slightly less than nothing, because there is no assigned function called popUp. The code you're going to see below is written by me, not by some WYSIWYG program, so it's going to be cleaner and smaller and more efficient (hopefully). Insert this into your page's HEAD (the original page). [/code]Then in the BODY of that page, where you want the link to go, insert this: [code]
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
To see the full source of the page in action, just check it out!
|
|
|
|
Joined: Jul 2001
Posts: 145
Member
|
Member
Joined: Jul 2001
Posts: 145 |
=) Thanks... I'm thinking about investing in a good Html/Java/CSS book... and then a perl book...
What books did you use, that is if you learned from a book.
Look ma' No hands
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
You won't find one book that covers HTML, CSS, and JavaScript (you said Java, I assume you meant Java Script) well. HTML and CSS are related somewhat, but each deserve a book of their own. JavaScript is a programming language in its own right, and so you'll want a book or two on that. O\'Reilly is probably the best source for tech books that you'll find, and I suggest buying the three below to get you started: HTML & XHTML: The Definitive Guide 4th Edition , Cascading Style Sheets: The Definitive Guide , and JavaScript: The Definitive Guide, 4th Edition .
|
|
|
|
Joined: Jul 2001
Posts: 145
Member
|
Member
Joined: Jul 2001
Posts: 145 |
Thanks a lot!
yea i meant JavaScript, i get all them javas confused with eachother... They should just called them totally different names... Java, Mocca, Expresso, etc... if they wanted to keep with the whole coffee theme...
Look ma' No hands
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
JavaScript was originally called LiveScript in early versions of Netscape Navigator, but when Netscape revised Navigator to run Java applets in version 2, it also renamed LiveScript to JavaScript. There's a bit of JavaScript history for ya.
|
|
|
|
Joined: Jul 2001
Posts: 145
Member
|
Member
Joined: Jul 2001
Posts: 145 |
interesting... very interesting
Look ma' No hands
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|
|
|