javascript code

B

Bristol

I am new to Frontpage 2003. How do I insert javascript code in design view.
I was using HTML code which works fine, but now I have to switch to
javascript code. I copy the code and enter it into my website normally to
display the products, but I can't figure out how to copy the code that
contains the product pictures and insert into the website on the design view.
I need to see the picture etc so that I can make changes accordingly. My
site is not up and running yet.
 
T

Thomas A. Rowe

You have to paste the code into Notepad first, then into your page in HTML / Code View.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
R

Ronx

FrontPage will not run JavaScript in design view, so you will have to use
lots of imagination. I usually insert the code in Code View - or the code
section of Split View.
Use Preview in Browser often to see the results as you edit the script -
and preview in FireFox as well as Internet Explorer to make sure the code
you are using is Cross Browser.

As this is a commercial site - are you sure JavaScript is the best option
for displaying products? You are pushing away those who do not have
JavaScript turned on (10% according http://www.w3schools.com , 6% according
to http://www.thecounter.com/stats/2006/August/javas.php )
 
B

Bristol

I was using HTML code which to me is better, but the advertiser has now said
that Javascript would be better to use because the links, product pictures
etc can be updated automatically and they mentioned that only 1% of people
don't have Javascript turned on which would result in losing about 2% those
sales.

Thanks to your response Ronx, I'm just going to stick with the HTML code,
it's easier, and although I have to do routine maintenance on my product
pages, it's just going to be better for me in the long run. Thanks again.

PS. when I did insert the javascript into code view or split view, I still
couldn't get the products to actually show up in the preview browser section,
not sure what I am doing wrong but I give up on it.

Thanks though for your insight on the matter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top