> Forums > Active Social > Themes and Templates > High Slide Javascript Help
Last Post 29 Apr 2010 09:59 AM by Tareq. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Tareq
Customers
Tareq
Post Count:440

--
29 Apr 2010 09:03 AM
    This is not an actual AS reuest but for customization. Since AS uses highg slide I prefer to use it as much as I can. For the login page when a user click on login I want a popup to come up and after login close the popup and redirect to defined page.

    Adding poup is easy and done but I am havng problem to close and redirect. I kind of suck in JS so if anyone has any idea if you could provide me a code snippet that will be great. I am trying to add the code to login template for AS.
    Jeff Blanks
    Customers
    Jeff Blanks
    Post Count:387

    --
    29 Apr 2010 09:34 AM
    I know Mandeeps Live Content uses highslide and you can display modules (ie: the login). I don't use it myself, but I think others in the community do.

    http://dnn.mandeeps.com/live+content.aspx
    Cheers! Jeff
    @northeastok | @jeffblanks | My Blog
    fatgeorge
    Customers
    fatgeorge
    Post Count:291

    --
    29 Apr 2010 09:47 AM
    A very simple way to redirect in javascript is:

    
    function redirect(){
          window.location=url
        }
     


    I presume you already have a method to construct your target url.
    Tareq
    Customers
    Tareq
    Post Count:440

    --
    29 Apr 2010 09:59 AM
    Thanks Jeff. I would prefer not use too many modules on my site. Using highslide is easy if we AS all CSS and Javascript is already there all we need to do is make the calls. Also I have not see anything on on the Mandeeps example that does exactly what I need. I have everything figured just having issue to close the window and then redirect.

    George, My redirect is working the problem is clsoing window and then redirect. I think all I need is few lines of code but I am pretty lame in JS.
    You are not authorized to post a reply.
    > Forums > Active Social > Themes and Templates > High Slide Javascript Help
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy