1) Script Title: :: Site Logo/ Watermark Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/logo.htm
3) Describe problem: Is it posible to use this script inside a frame? or is there an other script to do this.
1) Script Title: :: Site Logo/ Watermark Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/logo.htm
3) Describe problem: Is it posible to use this script inside a frame? or is there an other script to do this.
Yes it is possible.
All you need is two or three files. on one of them (EXAMPLE: page1.html), put the script that you linked too, on a second(EXAMPLE: page1.html), put some random text just to prove it works.
Then on the third put
NOTE: I'm pretty sure frames are no longer supported with html5.Code:<frameset cols="25%,75%"> <frame src="page1.html" /> <frame src="page2.html" /> </frameset>
Thank you, you are rigth frames is no longer suported, is it posible to use this scrpt to work into a table? or wath do you suggest?
Thank You again
That depends, are you using the table for the layout of your page? If so you should google why not to use tables for web layout. Using divs and css is a much cleaner option.
If you're not, you can just edit this line -
to include a table. An example isCode:logoHTML: '<a href="http://www.dynamicdrive.com" title="Dynamic Drive"><img src="logo.png" style="width:50px; height:47px; border:0" /></a>', //HTML for logo, which is auto wrapped in DIV w/ ID="mysitelogo"
Code:logoHTML: '<table width="500" height="500" style="background-color:blue;"><tr><td><a href="http://www.dynamicdrive.com" title="Dynamic Drive"><img src="logo.png" style="width:50px; height:47px; border:0" /></a></td></tr></table>', //HTML for logo, which is auto wrapped in DIV w/ ID="mysitelogo"
Bookmarks