The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Redirect Link Forum

View previous topic View next topic Go down

Redirect Link Forum

Post by blindbat1457 on December 1st 2011, 8:24 pm

Is there a way I can create a redirect category on the index?

i.e. http://www.awesomestyles.com/phpbb3-styles/demo/mw2

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Re: Redirect Link Forum

Post by Guest on December 1st 2011, 9:07 pm

You can using this code as category or forum title:
Code:
<a href="LINK">TEXT</a>
but total redirects doesn't possible. Wink

Guest
Guest


Back to top Go down

Re: Redirect Link Forum

Post by Omu on December 1st 2011, 9:14 pm

You can try with jquery:
Code:

<script language="javascript" type="text/javascript">document.location.href = 'LINK'</script>

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Redirect Link Forum

Post by Guest on December 1st 2011, 9:16 pm

You have tried your code Gyzmo? Laughing Your code automatically redirect you to another page...

Guest
Guest


Back to top Go down

Re: Redirect Link Forum

Post by Omu on December 1st 2011, 9:20 pm

You can try this too, with target blank

Code:
<a href="LINK" target="_blank">TEXT</a>

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Redirect Link Forum

Post by blindbat1457 on December 1st 2011, 9:32 pm

Well then it isn't possible. I know I can link but I want to have the redirect count. Also even then it wouldn't work cause I need the td to span 3.

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Re: Redirect Link Forum

Post by Omu on December 1st 2011, 9:38 pm

Code:
<html>

<body>

<p align="center"><strong><font face="Arial"><big>Please wait 5 seconds before being redirected<br>
To the script</big></font></strong></p>

<script>

/*
Count down then redirect script 2
By William Kemper (kemperwilliam@hotmail.com)
For this script and more, visit http://javascriptkit.com
*/

//specify redirect url
var redirecturl="http://www.javascriptkit.com/script/script2/countredirect2.shtml"
//specify pause duration before redirection (in seconds)
var pausefor=5

//DONE EDITING

function postaction(){
if (window.timer){
clearInterval(timer)
clearInterval(timer_2)
}
window.location=redirecturl
}
setTimeout("postaction()",pausefor*1000)

</script>


<!--[if IE]>

<script language="JavaScript1.2">

<!--

// this script was originally authored by william kemper.  I have no homepage.
var switchm=new Array
switchm[0]="ffaa00";
switchm[1]="ffff00";
switchm[2]="00ff00";
switchm[3]="0099ff";
switchm[4]="ff0000";
switchm[5]="ff00ff";
// if you want to add more colors go ahead, all the for limits are based on array length so
// you shouldn't need to change any of the code, just add more colors.

i=0
j=0
function STROBE()
{
if (j>increment.length-1)
   {
   j=0
   i++
      if (i>switchm.length-1)
      {
      i=0
      }
   }
document.all.increment[j].filters.blendTrans.apply()
document.all.increment[j].bgColor=switchm[i]
document.all.increment[j].filters.blendTrans.play()
j++
}
timer=setInterval("STROBE()",20) // change the number to effect the speed of the loadbar.
timer_2=setInterval("REVEAL()",20)
function REVEAL()
   {
   if (document.images[0].complete)
      {
      clearInterval(timer)
      clearInterval(timer_2)
      document.all.loadbar.style.visibility="hidden";
      document.all.content.style.visibility="visible";
      }
   }
// i don't know how to put comments in the css, but change duration to  effect the speed of the fade effect.



//-->
</script>
<style><!--
body
   {
   font-size:12px;
   font-family:Arial;
   color:000000
   }
#increment
   {
   filter:blendTrans(duration=1)
   }
-->
</style>

<![endif]>

<!--[if IE]>

<div id=loadbar
style=position:absolute;top:expression(document.body.clientHeight/2-100);left:expression(document.body.clientWidth/2-50)>
<table cellspacing=0 cellpadding=0 width=100><tr><td
colspan=10><b>Loading...</b></td></tr><tr>
<script language="JavaScript"><!--
for (k=0;k<10;k++)
{
document.write("<td id=increment width=10 height=20></td>") // you could set  the length of the loadbar by changing the upper limit of the for statement.
}
//--></script>
  </tr></table>
</div>
<div id=content
style="position:absolute;top:expression((document.body.clientHeight-document.images[0].height)/2);left:expression((document.body.clientWidth-document.images[0].width)/2);visibility:hidden;">
<img src=placeholder.gif width=1 height=1>
</div>

<![endif]>

</body>
</html>

Omu
Active Poster

Male Posts : 1019
Reputation : 86
Language : Romanian, English, French
Location : Romania

http://supportdrops.com/

Back to top Go down

Re: Redirect Link Forum

Post by blindbat1457 on December 2nd 2011, 12:03 am

What is that?

blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum