jaenbeck Posted June 24, 2012 Share Posted June 24, 2012 Hi, there! I am new to this. My question is: how do I make java script boxes TO MY site just like this 4 boxes shown in this site http://www.stmichaelprayercampaign.com/ Link to comment Share on other sites More sharing options...
niche Posted June 24, 2012 Share Posted June 24, 2012 (edited) You really don't need javascript for that because you're changing the whole page. Just do a link. I use JS only when I want to change part of a page. EDIT: When I think about changing most of a page (especially a dynamic page) , I think link. Edited June 24, 2012 by niche Link to comment Share on other sites More sharing options...
davej Posted June 24, 2012 Share Posted June 24, 2012 (edited) <a href="/?page_id=83"><div id="bottombox1"> Campaign Updates</div></a> I have never seen this before. The href="/?page..." looks like a GET. Does a link in this form submit a GET? Is this GET intercepted by jQuery? Thanks. Edited June 24, 2012 by davej Link to comment Share on other sites More sharing options...
birbal Posted June 24, 2012 Share Posted June 24, 2012 have never seen this before. The href="/?page..." looks like a GET. Does a link in this form submit a GET? Is this GET intercepted by jQuery? Thanks.it will point to web root and yes it will do get request by browser. it is just usual get request there is no involvement of jquery Link to comment Share on other sites More sharing options...
Guest So Called Posted June 24, 2012 Share Posted June 24, 2012 <a href="/?page_id=83"><div id="bottombox1"> Campaign Updates</div></a> I have never seen this before. The href="/?page..." looks like a GET. Does a link in this form submit a GET? Is this GET intercepted by jQuery? Thanks. No form is involved. Clicking the link causes a GET with page_id=83 being sent to the / page. You can retrieve $_GET['page_id'] and discover it's = 83, and use that for something, perhaps a page # request. You can see this on search engine links all the time where ?q=various+search+terms Link to comment Share on other sites More sharing options...
davej Posted June 24, 2012 Share Posted June 24, 2012 So it is Wordpress? I see Wordpress mentioned in the source and two links to ,php files. It maintains .com in the address bar. Link to comment Share on other sites More sharing options...
rootKID Posted June 25, 2012 Share Posted June 25, 2012 i think its wordpress to ... just a modified one ... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now