• Starting today August 7th, 2024, in order to post in the Married Couples, Courting Couples, or Singles forums, you will not be allowed to post if you have your Marital status designated as private. Announcements will be made in the respective forums as well but please note that if yours is currently listed as Private, you will need to submit a ticket in the Support Area to have yours changed.

HTML Help

doofus125

Goodbye
Aug 31, 2003
2,902
97
✟3,627.00
Faith
Agnostic
Marital Status
Single
Ok, I am working on a web page and it's been about 7 years since I have built a web page using html code, I quit building web sites for a while and recently starting using Frontpage 2000 & Frontpage XP (2002) to build my own web page.

What I have so far is a main page and then when I click on a link to navigate to sub-page I have it set to open a new window....What I'm looking to do is to be able to click on a link on that sub-page that would close it and bring the main page to the front.....does anyone know how to do this? Either in Frontpage or the Code?

Thanks :D
 

Durelen

+|-|3
Sep 30, 2003
602
16
56
California
Visit site
✟873.00
Faith
Non-Denom
I may be mistaken (you never know) but I don’t think there is an HTML tag/code that will close the web browser. I’ve never seen it done at least, or read about it. If you link back you will only have two index pages at that point. Sorry, no idea.





-edit
Nice web site by the way. Anyway thats exactly whats going on I see. It's linking back to make two index pages. You may want to just have your index page links internal instead of external. hehe I don't even have any sub pages yet on my little site for this user nic.
 
Upvote 0

doofus125

Goodbye
Aug 31, 2003
2,902
97
✟3,627.00
Faith
Agnostic
Marital Status
Single
I know there is a way to close a page by clicking on the link, I've seen it on pages and it says "Close" and when u click on it it closes the page, I just don't know how to do it.....but I don't know if I can pull up the main page.... I'll be stripping that page down and starting over as soon as I finish this Careing ministry project and finish taking down the pool...(I was walking out of church today and kinda got cornered and asked to do this project by one of the pastors and since I'm not working I said ok, but I am going crazy trying to find the pictures, I'm coming up with absoulty nothing)....
 
Upvote 0

doofus125

Goodbye
Aug 31, 2003
2,902
97
✟3,627.00
Faith
Agnostic
Marital Status
Single
Durelen said:
Yeah it would need to be a java script code. You can pull of nearly any function with a script. What pictures are you trying to find? Or are you creating them from scratch? You can fine nearly any picture by searching google.com Just click on the “Images” tab.
Now that I think about it when I was looking before I found something about java script and then I couldn't find it again.....I have no idea what java script is and I'm the x computer technician, I just don't deal with programing, just repairing and upgrading hardware, lol..... I'm going to check out the sites that Yen has listed along with the sites for the pictures in the other thread, Thanks :)
 
Upvote 0

Durelen

+|-|3
Sep 30, 2003
602
16
56
California
Visit site
✟873.00
Faith
Non-Denom
Yep, very true. You just need to take a close look since many sites offer free graphics. Taking stuff from photo.net is a no brainer but many graphics sites often let you know their policy concerning download and use of their material. I can say it's safe to say 95% of them don't wantyou to make a profit off their work but non prophet is often OK, as they point out.
 
Upvote 0

doofus125

Goodbye
Aug 31, 2003
2,902
97
✟3,627.00
Faith
Agnostic
Marital Status
Single
yen said:
If you need any help doofus, let me know. I am not great with programming javascript but have used pre-made stuff before (ex. hotscripts site), but I have done quite a bit of other website programming, mostly focusing on html and php/mysql databases. Be glad to offer any assistance if needed. :)
Thanks Yen....I'm going to read up on those sites at some point tomorrow, I'm dead tired and only 11 minutes left to this crappy day, lol..... I just finished draining the pool out and drying it so I could take it down and put it away and 5 minutes ago it decides to downpour rain, which by the way radar was clear and showing no rain this afternoon until the weekend, lol....grrrrrr stupid weather man......
 
Upvote 0

jono1

Smart Simplicity
Oct 5, 2003
402
4
37
canberra
Visit site
✟557.00
Faith
Christian
Marital Status
Single
Politics
AU-Liberals
the script to close a window is really really easy:
either
you just put "javascript:window.close();" or "javascript:self.close();" in "href" attribute or in an "onClick" attribute to your link code.
eg
Code:
<a href="javascript:window.close();">close</a>
or
<a href=# onClick="javascript:window.close();">close</a>
on my machine in internet explorer both of these pop up a window saying "the page you are viewing is trying to close the window. yes/no"

edit: for some reasaon vB is changing the code. there are no underscores ( _ ) in this code, just remove them.
 
Upvote 0

doofus125

Goodbye
Aug 31, 2003
2,902
97
✟3,627.00
Faith
Agnostic
Marital Status
Single
jono1 said:
the script to close a window is really really easy:
either
you just put "java_script_:window.close();" or "java_script_:self.close();" in "href" attribute or in an "onClick" attribute to your link code.
eg
Code:
<a href="java_script_:window.close();">close</a>
or
<a href=# onClick="java_script_:window.close();">close</a>
on my machine in internet explorer both of these pop up a window saying "the page you are viewing is trying to close the window. yes/no"

edit: for some reasaon vB is changing the code. there are no underscores ( _ ) in this code, just remove them.
Ok, thanks....I think this is different code than what I did find but I'm going to try it, thanks :)
 
Upvote 0