OrangeLipgloss
03-16-2003, 05:08 PM
Okay, for the life of me, I cannot figure out this JavaScript thing. I got the hang of HTML (finally) but for some reason JavaScript just isn't working for me.
I'm trying to get a code to work so that when people click on links to other sites, they will get a pop up window (so they don't have to leave my site in order to visit others). I tried the code that is under the JavaScript Help section of the site but it just won't work for me. In fact, when I use it, the page I try it on gets all messed up and I get doubles of all my images - plus the links still don't pop up. I'm using Yahoo!Geocities Pagebuilder to do this - could that be the problem? I mean...it shouldn't, I can use HTML and whatnot so why not JavaScript codes?
Can anyone help me out? Maybe I'm doing something wrong...
djedditt
03-16-2003, 06:27 PM
<Base Target="_blank">
If you put this on,
All links on that page
will open up in a new
window.
OR
You can also do it per link:
<a href='http://www.yourwebpage.com' target='_blank'>
click here
</a>
If you put that one on,
only that link will open up
in a new window.
-djedditt-
MaGiCSuN
03-16-2003, 06:41 PM
if you log in, click on "Filemanager" (on the right), and then enter it you can edit page by page FULLY in HTML, and no need to drag and drop again with pagebuilder. In this way you can be sure the javascripts will work
Some javascripts can't work because they need to be added between the <head> and </head> tags and in pagebuilder you are not able to enter something between those tags.
Just when you are in filemanager you select the page you want to open by clicking the little box in front of it so that it get's 'selected' and then click "edit" button above of all (next to "new" etc) then the page will open and you will see a big text field with the html in it for that page. After you edited the pieces you wanted to edit push "save" and it gets saved. If you want to make a new file, click "new" into the filemanager, then add the html into the big textarea, fill in the filename into the little field above the textarea for example index.html (you gotta enter .html behind it!!) and click "save"
Love,
Mirna
OrangeLipgloss
03-16-2003, 09:52 PM
Argh - thank you very much for trying to help me but it still won't work. There are still a few problems - (1) if I edit it in FileManager, I can never again edit it in PageBuilder and (2) when I edit it in FileManager, the pictures won't show up. Also, I really should be able to work it in PageBuilder. I am able to work with <head> tags there (under Format >> Advanced Page Properties and Format >> Advanced Image Properties).
I'm really not sure what else to do here. Does anyone else have any suggestions? Anyone else have problems working with Yahoo!Geocities on something like this?
I should probably also mention that I'm trying to link images as pop-ups right now.
frederick
03-19-2003, 05:13 AM
Confession: i was a die-hard PageBuilder fan for years. i loved it. but now i realize that if i create my entire pages with pure code... i have much more control. If i could give you one piece of advice, it would be:
forget PageBuilder; it's a crutch that teaches you the wrong way to walk.
it seems easy now, but actually it limits you a lot.
PEACE