First off - I am no programmer myself so please take that into consideration when replying.
Short description: I want to stop the function on a page that produces a popup and instead be able to link to web page.
Log in with Username: codersclan Password: codersclan on this page
I do not know which file contains the javascript that creates the popup. But here is the html for creating one of the items. On row 5, I would like to be able to link to any page instead of the a href="#"
<div class="gn1gn2 saucebowls mix item col-md-4 mix_all" style="display: inline-block; opacity: 1;">
<div class="portfolio-item-container">
<div class="three-col portfolio-item">
<img alt="" class="item-image" src="/portals/0/Images/Accessories/GD673still.jpg" />
<a href="#" class="overlay zoom">
<div class="preview-links">
<span class="zoom">
<em class="micon-play"></em>
</span>
</div>
</a>
</div>
<div class="item-meta-container">
<h4 class="item-title">Flexible Insert for Pots & Pans GD 673<span contenteditable="true" class="Normal LabelEditTextClass" style="width: 100%; overflow-x: hidden; overflow-y: auto;"></span>(FLEX)</h4>
<ul class="categories">
<li>Art.No: 14454</li>
</ul>
<p class="item-desc">Sliding, flexible insert for pots and pans, incl 1 spare rubberband.
<br />
<br />
<br />
</p>
</div>
</div>
</div>
Open the following file :- http://granuldiskcom.hosterspace.com/Portals/_default/Skins/Flatna2/js/custom.js
Go to line number 335 and replace
e.preventDefault();
with
return;
And in html
<a href="#" class="overlay zoom">
update href with the url where you want to redirect instead of #.
You could change code:
<img alt="" class="item-image" src="/portals/0/Images/Accessories/GD673still.jpg" />
<a href="#" class="overlay zoom">
To this one:
<a href="/portals/0/Images/Accessories/GD673still.jpg">
<img alt="" class="item-image" src="/portals/0/Images/Accessories/GD673still.jpg" />
</a>
But it's would be link to image, not web page. If you want to get link to web page you should edit aspx files (GranuleFlexi-AccessoriesInserts.aspx for example) or create new ones. Aspx files produce html and combine it with js and css.
Congratulations!
Now that your task is posted let the world know
Make your task famous