adding links to animated heading text JS - javascript

I am new to website coding. I am building a page and I am going to use animated headline js script. I want to know how can I add links to different words appearing to the animated headline in HTML or js.
I tried to update the code but every time I click the animated text only link with "steak" appears.
<b class="is-visible">pizza</b>
<b>sushi</b>
<b>steak</b>
Here is the source code.
https://codepen.io/Attrexx/pen/jAjvJo

you can use js/css library https://daneden.github.io/animate.css/ just read documentation, or search this library tutorials in youtube, with this library you can animate text and images

Related

How to implement reddit-like spoiler text covering for html page

I wanted to ask if anyone knows how I can implement something similar to reddit spoiler feature on a html page. I want it to be clickable to display the text behind it. (I looked into CSS, but they all seem to display on hover, but hide again when moved.
the class reddit uses is: "md-spoiler-text" but I couldn't figure out the script they use to do that.

Overlapping elements in both directions

Guys I'm trying to recreate this site, just for a learning purpose,
and in the News section of the home page, there's this card with
a hover effect. Is it possible to pull out that just with css ?
I always end up with that slide out half behind the next card.
Different z-index on each card would work, it's just that last one
is sliding out in the 'wrong' direction.
Here's the sites link https://altar.io/
the website you're trying to re-create uses wow.js which generates animations with JS and CSS.
you can get it from here:
https://wowjs.uk/docs
you can check the library by just looking at the DIV element of each card. they contain a data attribute like data-wow-duration which is a wowjs library codes

Link a gallery photo to a page without breaking JQuery animation

In the showcase section of this page (featured projects area), I am trying to link each photo to a dedicated page, instead of going into the JQuery light box.
Is there a way to achieve this without breaking the fade up animations and the dark overlays already present before clicking? Totally okay with scrapping the lightbox feature if neccessary, but not sure what to delete in fear of breaking the design and function.
This is a template that I have already customized with html and css. The linking to a page is the only issue I can't figure out (I'm a newby to JavaScript).
Any input would be much appreciated.
The entire site is downloadable with the style and JavaScript files for you to tinker with.
Thanks in advance,

add font overlay to simple javascript typewriter

new to coding in general, so I'm kind of at a loss. I have a simple typewriter effect jquery script AND another simple javascript/ CSS trick to overlay one font on top of another. I am trying to combine the functionality of the two. I have found two ways to overlay the fonts with javascript/css, but the issue I have is this.
When the page loads, the typing script starts and at the same time the script for the font overlay runs, and since the typing script is just getting started, the font overlay does not apply to the typed text. The ticker code i am using is at https://github.com/stephband/jticker and the javascript/css is from here http://jsfiddle.net/4xgdv/1/ with th js part looking like this
$('.doublefont').each(function() {
$(this).attr('content', $(this).html());
and using the css class "doublefont" and the :after selector to copy and overlay the text.
Not looking for someone to code it for me, just a place to start in where things should go during the recursion and an idea how the overlay would fit in would be nice.
This is really beyond me, but I thought of something I wanted to see and it wont leave me alone, so any help would be appreciated!
I wrote the script for overlay text in this site and it's full open source.
try it:http://www.drabc.ir/

inline image captions plugin?

Is there such thing as an inline image caption plugin for jquery?
So a user can someone select a point on an image, and then insert a text caption. Whenever someone hovers over the image, the caption displays.
Flickr has this type of functionality.
The keywords you're looking for are jquery photo tagging. A quick google search turns up numerous results, mostly tutorials on rolling your own.
This looks informative:
http://www.bennadel.com/blog/1837-Creating-Flickr-Style-Photo-Tagging-With-jQuery.htm

Categories

Resources