How can I make a link out of THIS PROJECT?
And by link, I mean I wanna be able to click on the picture in order to open a popup box.
This will do the trick
<div class="grid">
<figure class="effect-apollo">
<a class="modal-button" data-content="ef">
<img src="#">
<figcaption>
<h2>Strong <span></span></h2>
<p></p>
</figcaption>
</a>
</figure>
</div>
Related
I've used to create tabs with some content on it using the following code:
<div class="tabs-striped tabs-top tabs-background-positive tabs-color-light">
<div class="tabs">
<a class="tab-item active" href="#">
<i class="icon ion-home"></i>
Test
<div class="item item-avatar">
<div ng-bind="profile.img_element"></div>
<h2 ng-bind="profile.name"></h2>
<p ng-bind="profile.points"></p><p> points</p>
</div>
</a>
<a class="tab-item" href="#">
<i class="icon ion-star"></i>
Favorites
</a>
<a class="tab-item" href="#">
<i class="icon ion-gear-a"></i>
Settings
</a>
</div>
</div>
However, my problem is that the tabs doesn't switch, and on the top of that I've been unable to set the content of the tab 'Test' properly.
I did some searches, but still didn't find a solution.
I don't have enough experience with Ionic, So any help will be much appreciated.
Thank you.
href="#" should not be '#' for every tab. '#' means default root url. So when you click on every page it redirect on same page. You need to set content using 'ion-nav-view' for tab view.
Please study this CodePen for more guid
I am using the jssor templete for my slider and I have modified the setting so that I can have a slider image change when the mouse hover on the thumbnail. But I do not know how to add an external link to the thumbnail image so that I can go to the another page associated with that picture
I have try the following method from http://quabr.com/28478806/jssor-external-links-on-thumbnails but it is not worked
<div>
<img u="image" src="../img/photography/002.jpg" />
<div u="thumb">
<img class="i" src="../img/photography/thumb-002.jpg"/>
</div>
<div u="caption" t="L">My Title</div>
</div>
</div>
Thank you for your help!
I guess it worked already.
But there is an extra enclosing '<div>' in following code,
<div>
<img u="image" src="../img/photography/002.jpg" />
<div u="thumb">
<img class="i" src="../img/photography/thumb-002.jpg"/>
</div>
<div u="caption" t="L">My Title</div>
</div>
</div>
Please remove it by replacing
<div u="caption" t="L">My Title</div>
</div>
with
<div u="caption" t="L">My Title</div>
Also, please set 'height: 100%' for 'a' element to make the clickable area bigger.
<a href="http://mylink.com" target="_blank" style="height: 100%;">
And finally, please check out the thumbnail navigator skin html code, because it is fully customizable, and it can be very complicated. Please make sure your link element is not covered by any other element.
I want to show windows 8 style tiles (square buttons) for facebook like and twitter follow buttons with follower counts on my website. Which looks like below. Any suggestion?
I Have Done it With HTML And CSS But You Have To Update The Followers Count Manually.I Am Giving You The Code Here And Visit My Blog For A Live Demo And I Encoded The Images With base64 I Will try to Get Followers Count Automatically Using ApI's.
<div style="width:100px;height:100px;background:#00a0d1;color:#ffffff;">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k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i/a+L6kQyiMTZd+dwDBwB2ir0KfVIyjcAE4BCuWRTZJmK+zkvKTHkg5L2lDS55CjR956BBIKHjV7H3BlmTbzwAjwEVgDnHAYfxzY6booV5AiMAVcB44GUgZDwL7QEuUg8B7Y4fT/utlUHhLlObAa2Bow+7/MQzSOGExIG/Lp5HPYOwxmXQCISUu6C3nI+A/AAWAsAMigD4SvRwCagXbgGNAL1GUAsWDemMyzHmkCnlm9kJXd9YVIUyF+Bi5lCPEduLpSpe5Ny/J/MgDp9c0fac9Iqe02CbIH2OXxu50H+lNvhY9AW+Kpl9RfIsGT2sWM5k8Nsl3SNUnTjgBzkk5mBSHJKWrttRphPdAAbPaUKsPAWeBdphnIgbpg1eAD+dmopONZeiFtPfLvWqfHMnwX0GJistai2C9g2q5zXgFPgdchBVraqNVikr7NtFcdsAjMAl8N4ouv7Mg7/Ma73wgSQSJIBIkgESSCRJCl7e8ALCHfvGo8v/sAAAAASUVORK5CYII" width="50px" height:50px"/>
<div style="text-align:right;padding-right:10px;padding-bottom:10px;">
296<br/>Followers
</div>
</div>
<div style="margin-top:-100px;margin-right:116px;width:100px;height:100px;background:#3B5998 ;color:#ffffff;float:right">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QCYRXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAIdpAAQAAAABAAAATgAAAAAAAABIAAAAAQAAAEgAAAABAAWQAAAHAAAABDAyMTCgAAAHAAAABDAxMDCgAQADAAAAAQABAACgAgAEAAAAAQAAADKgAwAEAAAAAQAAADMAAAAA/+ECzmh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8APD94cGFja2V0IGJlZ2luPSfvu78nIGlkPSdXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQnPz4KPHg6eG1wbWV0YSB4bWxuczp4PSdhZG9iZTpuczptZXRhLyc+CjxyZGY6UkRGIHhtbG5zOnJkZj0naHR0cDovL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q/6X+1fteJJqeXtMB9HrsdaDACxYU6Cb8d99yRAnQGmAbX+earpLNTWo6GLDKArbhBEnkSZB356/8QAIRABAAEDBAMBAQAAAAAAAAAAAREAITEQIHGxQVHR8KH/2gAIAQEAAT8QvSBeXAb6ABuIAsBsDhwK0Liaw3zwvkCSpLLrDE6ixeuWJtghAOuw44yDKCb8gvkPoJugEErYAUQ9ddiP0Uk8f0+0kKemNHzHtwE+NGAUUSvBWbVgWZqChDxOML2ajcAtpKEpwDEFmfhJqBcDg6oIbZCT0ijohRm31g1VjyqBPtBKjWRsZ022n0UGwWcQzWq05iCAoBzMMYHB1TFhkWEwiwnOwP8Al/i7pgcHVOXl73F1IwC1uftYVOQXDAREMGbjBrlllcmJRwDIYAIkJVcbaJOBhUykmFQAwnzDBCeyklSZIb6f/9k=" width="50px" height:50px"/>
<div style="text-align:right;padding-right:10px;padding-bottom:10px;">
296<br/>Likes
</div>
</div>
<div style="margin-top:-100px;margin-right:11px;width:100px;height:100px;background:#dd4b39 ;color:#ffffff;float:right">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QkaChElRYoCWgAAB79JREFUeNrtm3twVNUdxz/n7ju72RDzMBCSyCO8wksQUmBUkCn10Y7TYaZ/IOMo1Gr/sVRqSymliHScwkhtbaWU2k6KM/iaqVakU4WpRQXHQmlF3gQMSMKSZLPJvrJ7H6d/BDbZ3IVsICS7Tc7M7t37u/ee+/t9z/k9z1lR+8CcdkAghA0QSKDja1A0KyBRFAeGwWBsCkLYBqvwHQBIaWEQN4VB3oYAGAJgCIAhAAZ1s96sjlVDEjMMVEOiSYkuJVKC0Yso0yoEXpsVl0XJDgAkENF0QpqOUlDELbPnUjRuIq7SclxlFVicLiw5boQlvdBDa/TRvHUz4U8+zHwA4oZBS1zDPXUGEx5aTv6MWSCub+SkptH69qsEdvw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EUJwLdsguxyvACelxEh0nkgZEIBAJH5z+fzKSaqit7hmGiKSeOx+pIdnu/Ujrd0vdj92RSzxsq6Misv/uO9yv0whTG+r++Ia6wFX4/VqPF/lXAoh+B85xVTHIHbk9gAAAABJRU5ErkJggg==" width="50px" height:50px"/>
<div style="text-align:right;padding-right:10px;padding-bottom:10px;">
296<br/>Circles
</div>
</div>
I've got the following nav on my site
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar pull-right" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="/"><span class="icon-chevron-up icon-medium"></span> Rocky Mountain Arts</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="dropdown">
Gallery <b class="caret"></b>
<ul class="dropdown-menu">
<li>For Sale</li>
<li>Sold</li>
<li>Private Collection</li>
</ul>
</li>
<li>About The Artist</li>
<li>Contact</li>
</ul>
</div>
</div>
</div>
</div>
When I view the site on my desktop, I see everything as expected, and I can navigate all of the links.
HOWEVER: When I load the site up on my iPhone, press the toggle collapse button and then expand the dropdown, I cannot click any of the sub links within the dropdown menu, rather the menu closes and either the "about" or the "contact" link activate instead.
How can I fix this?
Thanks #MiikaL for the comment. Looks like it's a bug filed over at Github that no-one is really addressing in the official source code.
https://github.com/twitter/bootstrap/issues/4550
This can be reproduced on the github components demo page
http://twitter.github.com/bootstrap/components.html#buttonDropdowns
There are people with helpful info in the tread, and the 'hack' solution seems to be
// Fixes sub-nav not working as expected on IOS
$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
This issue is finally fixed in the latest Twitter Bootstrap as of version 2.2.2:
You can read a short summary about the changelog in 2.2.2 here:
http://forwebonly.com/things-you-should-know-about-twitter-bootstrap-2-2-2/
I have this type of element:
<div draggable="true" id="item" style="margin:20px;background:red;height:400px;width:400px;">
<a href="#" target="_blank">
<img style="margin:40px;" src="http://www.placekitten.com/100/100" alt="">
</a>
</div>
I want to be able to:
Drag the whole div, even if I click on the /anchorimage (before dragging).
Still respond normally to an anchor/image click (without a drag).
Right now, only the image is dragged when I click on it.
Here's a fiddle: http://jsfiddle.net/M5tBd/
As per the HTML5 Editor's Draft spec, Images and Anchors with a href element are both elements that are, by default draggable. Your anchor is probably capturing the dragstart event, preventing the div from ever getting it. Try setting draggable="false" on your <img> and <a> elements.
<div draggable="true" id="item" style="margin:20px;background:red;height:400px;width:400px;">
<a href="#" target="_blank" draggable="false">
<img style="margin:40px;" src="http://www.placekitten.com/100/100" alt="" draggable="false">
</a>
Your fiddle doesn't even work dragging the img element for me in Chrome under Ubuntu, so you may have other issues besides this.