Hello, how can i make this "Hscren.swf" clicable.
Hscren is logo and i whant when you press click to make redirect in index like www.site.com.

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="712" height="172"> ');
document.write('<param name="movie" value="images/template/style/flash/Hscreen.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="menu" value="false">');
document.write('<embed src="images/template/style/flash/Hscreen.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="712" height="172"></embed>');
document.write('</object>');

Thanks,
I wait for help.
Sorry for my english

Recommended Answers

All 2 Replies

Surround the whole object with an a tag or since the logo is a flash object u can use actionscript to add a click event

I think you can use:

document.write('<a href="#">');
//rest of the code here
document.write('</a>');
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.