VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Align Banner (5th Oct 08 at 2:22am UTC) Resolved | | I'm looking for a code that allows the banner to move to the left or right side instead of the middle.
Thanks! | |
|
|
dog199200 Guest | Re: Align Banner (5th Oct 08 at 3:37am UTC) | | just the banner and not the whole table? | |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (5th Oct 08 at 3:45am UTC) | | nope, only the banner | |
|
|
dog199200 Guest | Re: Align Banner (5th Oct 08 at 3:57am UTC) | | ok try this:
<style type="text/css"> #welcome_table .welcome { position: absolute; left: 100px; } </style>
Not tested | |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (5th Oct 08 at 4:09am UTC) | | sorry, the code doesn't work | |
|
|
dog199200 Guest | Re: Align Banner (5th Oct 08 at 4:12am UTC) | | what is it doing? or does it not do anything? | |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (5th Oct 08 at 4:15am UTC) | | it makes the welcome table go over the menu bar and pm system | |
|
|
dog199200 Guest | Re: Align Banner (5th Oct 08 at 4:15am UTC) | | ok i'll look into it | |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (5th Oct 08 at 4:17am UTC) | | kk thanks! | |
|
|
dog199200 Guest | Re: Align Banner (5th Oct 08 at 4:49am UTC) | | Ok I haven't tested this either. I have way to many important windows open to test it and I am very sorry about that, as well MY JS is not that great, so I really hope this one works.
Global Header:
Code: - <script type="text/javascript">
- <!--
- /*Aligning Banner*/
-
- var ialign="left";
-
- var welcome_table=document.getElementsByTagName('welcome_table')
- for (m=0;m<welcome_table.welcome) {
- if (welcome_table[m].className.match(/welcome/i){
- welcome_table[m].align=ialign;
- }
- }
- //-->
- </script>
| |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (5th Oct 08 at 5:00am UTC) | | sorry, the code still doesn't work, it just did nothing | |
|
|
dog199200 Guest | Re: Align Banner (5th Oct 08 at 5:03am UTC) | | hmm, great now i feel worthless...ok i'll look over the code, and maybe even ask Marc for help if i can't figure it out, but i will get you a code. | |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (5th Oct 08 at 5:09am UTC) | | well thanks for the help, I'll just be waiting til' the code is done | |
|
|
dog199200 Guest | Re: Align Banner (6th Oct 08 at 4:00am UTC) | | try this:
Code: - <script type="text/javascript">
- <!--
- document.getElementsByClassName("welcome")[0].align = 'left';
- //-->
- </script>
You may want to t5hank marc, i did have to ask him why whta i was trying wouldn't work, and i understadn where i went wrong now. | |
|
VeaZna Junior Member
"Pickle Weasil" Posts: 78 Status: Offline Location: Guess... Joined:
pmwww | Re: Align Banner (8th Oct 08 at 9:16pm UTC) | | well thanks to u both! | |
|
|