Html codes?
Im having trouble with this question I guess im not asking it right so i'll try to explain it the best i can.
Okay im building a website. I have graphics that i made myself for my website. I already know how to put my graphics on my website. Heres the hard part. lol
I want other people to beable to come to my website and use my graphics on their page. BUT i dont know how to make a code they can copy for my graphics. Thats what i need help with.
FOR EXAMPLE: if you wanted a new myspace layout you go to a website and copy the code for the layout.....okay HOW DO I MAKE A CODE FOR MY GRAPHICS FOR PEOPLE TO COPY???
Lol i hope i was alittle more clear!=)
Public Comments
- I just answered this - or similar question: function CopyToClipboard(meintext) { if (window.clipboardData) {window.clipboardData.setData("Text", meintext); } else if (window.netscape) { netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect'); var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard); if (!clip) return; var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable); if (!trans) return; trans.addDataFlavor('text/unicode'); var str = new Object(); var len = new Object(); var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); var copytext=meintext; str.data=copytext; trans.setTransferData("text/unicode",str,copytext.length*2); var clipid=Components.interfaces.nsIClipboard; if (!clip) return false; clip.setData(trans,null,clipid.kGlobalClipboard); } alert("Following info has been copied to your clipboard:\n\n" + meintext); return false; } It's JavaScript.
- <textarea cols=50 rows=4>PUT YOUR CODES IN HERE</textarea> You can change the cols and rows # to make it bigger, smaller, whatever.
Powered by Yahoo! Answers