HTML coding help

They have: 3 posts

Joined: Jan 2001

Hello,
I am new to this forum, my name is Susie. I am currently helping a friend of mine redesign her lingerie business website. I am not a professional with design or graphics.

Anyway, I am having a bit of trouble with some code that I'm trying to use. Her site is set up using both javascript and frames, and I understand that it is still proper to include a bit of code for the older browsers that cannot view either javascript or frames. The problem I have, is that I am not sure where to place that information...and do I use "noscript" tags to have the javascript information appear for the older browsers? If so, are those tags placed in the "head" or "body" of the document? I do know to use the "noframes" tag...that is placed on the same page as the "frameset", correct?

Here is a link to the 'test' site:
http://www.ns.net/~soliva/kelly/index.html The links do not work yet, it is simply a test page. This is not the page that uses frames...that will come on her 'index2' page.

I would like to be able to have the HTML validated, but the way I have it set up right now, it won't pass validation, and I'm not sure how to correct is, which is why I'm here.

Sorry this is so long...Thank you for any help/suggestions.

Susie

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Well... it's kind of hard to look at your code when you've got right click disabled! I usually think that script is a really stupid trick, but when you've got pictures of half-naked women who probably don't want to be spread all over the internet it's probably a good idea!

I downloaded it to my computer and I don't see any problems with the code after a quick look over. I think that putting comment tags around your code (insdie the Javascript tags) is enough for the older browsers. You really don't need to worry about them all that much anymore IMHO though. I don't use Frames very much myself so I'm afraid I can't give you the best advice.

They have: 3 posts

Joined: Jan 2001

I'm so sorry...I completely forgot about that right-click script being there on her test page! Yes, we do put that there due to the nature of the site.

So the way I have it coded now is okay for the older browsers that can't view javascript, and those with their javascript disabled? Or maybe I'm confused...I should move the comments *inside* the actual javascript? I hope you'll forgive my stupidness in this matter...I'm pretty good with HTML, but javascript I haven't grasped at all yet! Smiling If I need to place the comments inside the script, how do I do that? and then do I remove the 'noscript' tags, or are they part of the comments? Again, I'm sorry if these are basic, stupid questions...just not sure where to turn for help.

Thanks again,
Susie

They have: 3 posts

Joined: Jan 2001

Thanks for having a peek...I got it figured out and it finally validated just fine! woohoo! hehehe

Susie

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.