• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

More HTML questions

sswingle

Diamond Member
Sorry for all the HTML questions. I have several here, hopefully someone can answer them all.

1. Is there a way to write a link so it opens in a popup window? I previously did this with a bit of javascript, but I cannot use javascript in this situation.
2. Once the popup is open, what is the link to get it to close? Once again, I used java for this previously.
3. What about a back button link?
4. Is there any way to override the font code in a CSS file? My site has a CSS file which dictates how all links should look like, which is great, but on one page I want it to be different... Either change to the CSS file or a change to the page would be fine.

Thanks!

http://www.sscustomcomputers.com
 
Thanks, that worked great. One more question...is there any way to change the size of the popup window, and take away the buttons and menus like it does on This page by modifying the html link? All those settings were in the java...
 
Java is not javascript, they are *totally* different things.

Also.. I (and many people) find links that open in new windows REALLY annoying (like on these @#%ing forums). If I want it in a new window I'll do that myself.
 
pweddesign,

Try this! HTML Goodies


Originally posted by: BingBongWongFooey
Java is not javascript, they are *totally* different things.

Also.. I (and many people) find links that open in new windows REALLY annoying (like on these @#%ing forums). If I want it in a new window I'll do that myself.

I use Firebird and always right click -> open in new tab.

 
Originally posted by: Winchester
pweddesign,

Try this! HTML Goodies


Originally posted by: BingBongWongFooey
Java is not javascript, they are *totally* different things.

Also.. I (and many people) find links that open in new windows REALLY annoying (like on these @#%ing forums). If I want it in a new window I'll do that myself.

I use Firebird and always right click -> open in new tab.

Sure, I can just middle click on a link, even easier. But I don't always want it in a new tab. I believe you can do something to firebird to stop it from opening a new window on these links but I haven't looked into it. Either way, it's one of the most annoying things on the web.
 
Originally posted by: BingBongWongFooey
Java is not javascript, they are *totally* different things.

Also.. I (and many people) find links that open in new windows REALLY annoying (like on these @#%ing forums). If I want it in a new window I'll do that myself.

I don't like popups that much either, BUT, if you look at my site, you will see that they are useful in this situation. It is a form to choose components for a computer system. If a user has a question, they can click the see more information link for a specific item (CPU, RAM, etc) and see a discription of the component, and why you need it. A popup shows the information, without taking the user away from the form.

 
Originally posted by: pwddesign
Originally posted by: BingBongWongFooey
Java is not javascript, they are *totally* different things.

Also.. I (and many people) find links that open in new windows REALLY annoying (like on these @#%ing forums). If I want it in a new window I'll do that myself.

I don't like popups that much either, BUT, if you look at my site, you will see that they are useful in this situation. It is a form to choose components for a computer system. If a user has a question, they can click the see more information link for a specific item (CPU, RAM, etc) and see a discription of the component, and why you need it. A popup shows the information, without taking the user away from the form.

Ah. Those don't bug me. 😛
 
Originally posted by: pwddesign
Thanks, that worked great. One more question...is there any way to change the size of the popup window, and take away the buttons and menus like it does on This page by modifying the html link? All those settings were in the java...

As far as I know, you can't disable the components of a new window without opening it via JavaScript. Why can't you use JavaScript on this page?
 
You cannot get rid of the buttons and status bar without using Javascript or JScript.

If you want to change just one link to be different from your CSS style, use the style="" attribute:

<a href="mylink.htm" style="color: COLOR_THATS_DIFFERENT_FROM_REST_OF_LINKS;">text</a>
 
ok here is how CSS work they are casscading in order of importance, so lets say you have one set that you link to for you entire site, that will get over ridden if by an in page sheet in the head, and that will be over ridden by an inline sheet. So all you have do do is set the link color the way you want it in a place that has a higher importance than the sheet that dictates the rest of your site.
 
Back
Top