Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

how to redirect page

how to redirect page

Problem

i have 4 images and then i have Applied automatic swiping,It's working nice,but now i have added text (skip) on Image when i click on Skip,text is Redirected to another page(text.html)
My Problem is When i Click Skip it's Redirected page(text.html) but page css not applied. But with out click on skip with automatic sliding redirected page(text.html) is fine.

  

fourth Second dfasdfasasdasdasdna asdasdasdasd asdasdasd asdasd
asdasdasd asdadasd asdasdad
  skip

when click skip it's redirect to text.html but text.html css not applied total page will changed when call direct text.html it's displayed nice css also applied
can you please tell me how to make css apply to text.html when i click skip. Thanks in Advanced

Text.html



    

        

Step 1:

Fill in your Details to Get Started

Step 2:

Browse the application

Save with Lighting

in your Deatails to Get Started Fill in your Deatails to Get Started

Explore light options

Fill in your Deatails to Get Started Fill in your Deatails to Get Started

Problem courtesy of: user3616693

Solution

with jQuery you can define class on which you can perform an on-click event

like

$( ".skipclass" ).on( "click", function() {
  // do something here like
  // window.location.href='the_link_to_go_to.html';
  // or ajax request
});

further info http://api.jquery.com/on/

Solution courtesy of: joviberton

Discussion

View additional discussion.



This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

how to redirect page

×

Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription

×