PDA

View Full Version : DW3 Adding a Library Item


proctor
07-25-2010, 06:44 PM
Hello: I'm new to dw and today I've been working on trying to add a new libray item. First, I created the page I wanted to be an item. It is a navigation page so it has a table with links. It also contains javascript for the onmouseover and onmouseout events - and the page works great when i run it.

ok, then i read that i need to open the assest tab and click select everything from the page that i wanted to be in my new library item. I selected the entire page - including the javascript.

When i drag it all into the library item, it only takes the html table stuff...it won't take the body tags or the javascript.

I'm confused...isn't it possible to take the code e.g. the javascript also?

Thanks for your help,
Proctor

proctor
07-26-2010, 07:44 PM
I've been reading up on this and looks like i may need to make an include file instead and do document.write for all the html portions of the page. The extension of the page would be .js.

Does this sound like I'm on the right track?

Thanks,
Proctor