vkidv
09-06-2002, 07:55 PM
i need to make an award script for like a 'good website', my idea of a award would be a javascript external file which document.writes the award code - to REDUCE amatuer theft.
i would use the document.write code and document.write(document.title) and stuff - correct that if im wrong (how to document write title of page, is that how you do it? document.write.(document.title?))
but i would like the award to be a bit like this..
on the site which has the award there would be a link like 'Check this site's award' when they click this - a javascript NEW window would appear - i dont want this to be another .html/.htm file it will be predefined in the code...
how can i make javascript make a window - with the html what is going to be in the window
in this window would be the award - with the document.write(document.title) of the parent page (award winner's site)
all this would be in the external javascript so to the award winner - installing it would be extremley easy (ect. external javascript remotley hosted - they just type in javascript src thing blah blah which would be already provided)
i know this is possible - but dont know how, please help...
regards
sam
i would use the document.write code and document.write(document.title) and stuff - correct that if im wrong (how to document write title of page, is that how you do it? document.write.(document.title?))
but i would like the award to be a bit like this..
on the site which has the award there would be a link like 'Check this site's award' when they click this - a javascript NEW window would appear - i dont want this to be another .html/.htm file it will be predefined in the code...
how can i make javascript make a window - with the html what is going to be in the window
in this window would be the award - with the document.write(document.title) of the parent page (award winner's site)
all this would be in the external javascript so to the award winner - installing it would be extremley easy (ect. external javascript remotley hosted - they just type in javascript src thing blah blah which would be already provided)
i know this is possible - but dont know how, please help...
regards
sam