Hi all,
I've got a few areas of my website that link to popup windows and use link parameters. Example: The gallery contains 30 images and each link sends the image name as the parameter to the popup window (uses a little javascript, too). Here's what the link looks like:
<a href="#" onClick="window.open('popup.asp?image=feat1.jpg', '', 'height=550,width=750,scrollbars=no')" ; >
<img src="images/feat1.jpg" /></a>
Is there any way to edit this information from within Contribute? Yes, I know you can edit the source file, but to minimize problems, I'd rather keep my clients away from the source code, so being able to edit this information in Contribute - like in the link properties or something would be really helpful.
I thought of using just "target=_blank", but I need to give the popup window a height and width, and those values differ. Plus, I need to pass the image name to the popup to display the correct file.
The 'Add HTML Snippet' feature was almost what I was looking for, but it doesn't seem to be able to 'edit' existing html, it only adds new HTML.
Is there any easier way to do this, so that Contribute users can edit these items while staying out of the source code?
Can anyone think of an alternate method to what I'm trying to do?
Thanks.
I've got a few areas of my website that link to popup windows and use link parameters. Example: The gallery contains 30 images and each link sends the image name as the parameter to the popup window (uses a little javascript, too). Here's what the link looks like:
<a href="#" onClick="window.open('popup.asp?image=feat1.jpg', '', 'height=550,width=750,scrollbars=no')" ; >
<img src="images/feat1.jpg" /></a>
Is there any way to edit this information from within Contribute? Yes, I know you can edit the source file, but to minimize problems, I'd rather keep my clients away from the source code, so being able to edit this information in Contribute - like in the link properties or something would be really helpful.
I thought of using just "target=_blank", but I need to give the popup window a height and width, and those values differ. Plus, I need to pass the image name to the popup to display the correct file.
The 'Add HTML Snippet' feature was almost what I was looking for, but it doesn't seem to be able to 'edit' existing html, it only adds new HTML.
Is there any easier way to do this, so that Contribute users can edit these items while staying out of the source code?
Can anyone think of an alternate method to what I'm trying to do?
Thanks.