|
Post by Admin on Feb 25, 2006 14:16:32 GMT -5
This code will add a gradient image to either windowbg or to windowbg2. Coded by: Admin Header
For windowbg:
<style type="text/css"> <!-- .windowbg { background: url('http://URL of Gradient'); } //--> </style>
For windowbg2:
<style type="text/css"> <!-- .windowbg2 { background: url('http://URL of Gradient'); } //--> </style>
Edit the blue with your gradient URL
|
|
dja
New Member
I am currently making 2 codes for S-Shouts, PM me for info.
Posts: 17
|
Post by dja on Mar 2, 2006 14:45:53 GMT -5
headers?
|
|
|
Post by Admin on Mar 2, 2006 16:22:12 GMT -5
Yes. Sorry about that.
|
|
dja
New Member
I am currently making 2 codes for S-Shouts, PM me for info.
Posts: 17
|
Post by dja on Apr 5, 2006 8:42:05 GMT -5
Before i test,would it work in the footer? I'm making it admin editible
|
|
|
Post by Admin on Apr 6, 2006 5:23:09 GMT -5
Not possible. The admin panel doesn't load the headers and footers.
|
|
dja
New Member
I am currently making 2 codes for S-Shouts, PM me for info.
Posts: 17
|
Post by dja on Apr 6, 2006 7:29:08 GMT -5
Ok,i have tried and make it user editible and this is what i've got so far
<script type="text/javascript"> function disp_prompt() { var url=prompt("Enter the URL of the image you would like to replace WindowBg1 with","") if (url!=null && url!="") { table = <style table table+= type="text/css"> table+= <!-- table+= .windowbg { table+= background: url table+= ('http:// " + url + " '); table+= } table+= //--> table+= </style>") document.write(Table); } } </script>
<form> <input type="button" onclick="disp_prompt()" value="Change WindowBg1"> </form>
|
|
|
Post by ebuywow on Jun 28, 2008 23:19:32 GMT -5
|
|
|
Post by ebuywow on Jun 28, 2008 23:22:53 GMT -5
|
|
|
Post by ebuywow on Jun 28, 2008 23:25:19 GMT -5
|
|