sssupers Posted December 11, 2014 Share Posted December 11, 2014 Cover Pages are nice to have, but they are very limited in their functionality. You can’t add any blocks and you must follow a narrow route of rules and buttons. I want to use the entire picture of a CoverPage as a clicktrough link, how? Hi, I'm sssupers. Link to comment
Guest Posted December 11, 2014 Share Posted December 11, 2014 Go to your cover page setting by clicking on a cog and paste this into Code Injection field <body onclick="window.location.href='newpage.html';" style="cursor:pointer; width:100%; height:100%;"></body> Of course use your own link. Link to comment
sssupers Posted December 11, 2014 Author Share Posted December 11, 2014 Thank you, looks great and works like a charm with internal pages. How will I link an external page like www.zombo.com within the given frame? THIS ATTEMPT DOESN’T WORK: <body onclick="window.location.href='http://www.zombo.com';" style="cursor:pointer; width:100%; height:100%;"></body> Hi, I'm sssupers. Link to comment
Guest Posted December 11, 2014 Share Posted December 11, 2014 It should work just fine (tested) on your regular domain - it doesn't work on xxx.squarespace.com Link to comment
houseofdb Posted December 21, 2015 Share Posted December 21, 2015 Thank you for this...I needed to know exactly this information and your code worked a treat after some testing. Just for clarity for others...if you're linking to an internal page all you need is the name of the page itself. This can be found in the CONFIGURE INDEX of the page you want to click through to and is in the section URL Slug. Just copy the name, don't include the / symbol. Took me a while to realise this as I tried different things that weren't working. Link to comment
aanthony Posted August 27, 2016 Share Posted August 27, 2016 Ok so this worked for me but.... if you're using any of the buttons or form, none of them function anymore. Is there a way to still achieve the whole page being clickable but allow the buttons to still function? Link to comment
jimtheillustrator Posted September 6, 2017 Share Posted September 6, 2017 how do I make sure the cover page as one big button, leads to the rest of my site? Link to comment
jimtheillustrator Posted September 6, 2017 Share Posted September 6, 2017 I copied and pasted the first line of code to make the entire cover page a button, and it worked, but I couldn't figure out how to make it a button that leads to the rest of my site. Once I've pasted in the line of code, how do I tell it to lead to the rest of my site? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.