http://fma.vforums.co.uk
I need help with this code, this code is originally from PB.
Code:
- <script type="text/javascript">
- <!--
- var iImg = 'http://i185.photobucket.com/albums/x20/magedesigns/entersign.jpg';
- if(!location.href.match("action") && !document.referrer.match(location.href.split(".")[0]))
- {
- document.write('<style type="text/css">table,font,.hide{display:none;}.nohide{display: ;}</style>');
- d = document.createElement('div');
- with(d){ align = 'center'; appendChild(document.createElement('a')); }
- with(d.lastChild){ href = '/index.cgi?'; appendChild(document.createElement('img')); }
- with(d.lastChild.lastChild){ alt = 'Click to Enter'; border = '0'; src = iImg; }
- document.body.appendChild(d);
- }
- // -->
- </script>
Now since it was from PB my forum shows http://fma.vforums.co.uk/index.cgi? and it wont allow me to go to the forum.
I want it to look like this:
http://fma2.proboards3.com
Thanks,
Darkmage
Code:
- <script type="text/javascript">
- <!--
- var iImg = 'http://i185.photobucket.com/albums/x20/magedesigns/entersign.jpg';
- if(!location.href.match("action") && !document.referrer.match(location.href.split(".")[0]))
- {
- document.write('<style type="text/css">table,font,.hide{display:none;}.nohide{display: ;}</style>');
- d = document.createElement('div');
- with(d){ align = 'center'; appendChild(document.createElement('a')); }
- with(d.lastChild){ href = '/action/home/'; appendChild(document.createElement('img')); }
- with(d.lastChild.lastChild){ alt = 'Click to Enter'; border = '0'; src = iImg; }
- document.body.appendChild(d);
- }
- // -->
- </script>
![]()
Thanks it works. And is there a way to add this code into the index?
Thanks it works. And is there a way to add this code into the index?
I'll get a more advanced splash page code added soon.![]()
Ok Cool thanks ^_^