jquery - how to link to a same page anchor in javascript -


i wanting link album covers in coverflow mighty slider anchors within same page. @ top , there various audio players corresponding each cover, each own anchor, below within page. how use link url property go anchor. anchor album danceawaythenight dan.

have tried link either side of list item makes album cover disappear.

the code working slider shown below.

each album cover has link 1 below (at moment in pointing default link came plug-in slider)

<li class=”slide” data-mightyslider=” cover:’images/albumcovers/danceawaythenight.jpg’, link: { url: ‘https://itunes.apple.com/us/album/enrique-iglesias-greatest/id295364999?uo=4’, target: ‘_blank’ } ”> 

you need set link-url according anchors. , link-target "_self" or "_top".

<li class=”slide” data-mightyslider=” cover:’images/albumcovers/danceawaythenight.jpg’, link: { url: ‘#your-anchor-name’, target: ‘_self’ } ”> 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -