Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Dreamweaver template and extension problem
Old 11-07-2006, 09:37 PM Dreamweaver template and extension problem
pjaj's Avatar
Average Talker

Posts: 17
Name: Peter Jennings
Location: Oxfordshire UK
Trades: 0
I've downloaded the "e-Learning Questions" extension from the Macromedia / Adobe site. This works fine in a plain html page. But when I try to use it in a page created from a template, it needs to insert javascript in the head area, and DW won't let it.

Is there any way of creating an editable region in the header that the extension can find and insert it's code?

If DW inserts javascript itself (say you add a behaviour) it finds an editable region in the header (the only one I've got is title) and puts it there. If the parent template happens also to be open in DW it will even update the template, and put the javascript in one of the javascript areas, even though they are non-editable - very clever.
pjaj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-14-2006, 08:57 PM Re: Dreamweaver template and extension problem
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
I'm not sure if this will work, but I would give it a try...

(I am assumming that you know html somewhat.)


The problem is that DW uses a comment tag to set the start and end points of uneditable regions of a page. That's all that it is. DW has a self-protection system kind of built in to keep you from overwriting these sections.

What you can do is open the file up in notepad and manually reset the area that you want to change. Just highlight and move the tags. They stand out very clear.

~Chip
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Reply     « Reply to Dreamweaver template and extension problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10083 seconds with 12 queries