Jump to content

Archived

This topic is now archived and is closed to further replies.

davidcosgrove

QuickCarousel target="_blank"

Recommended Posts

Simon

jQuery( '.carousel-item a' ).attr('target', '_blank')

Share this post


Link to post
Share on other sites
davidcosgrove

Hi Simon,

 

Thanks so much for this - where do I need to paste in this code?

 

Thanks again.

Share this post


Link to post
Share on other sites
Simon

DOH! Sorry forgot you need the ready() functions too!
 
<script>
jQuery(document).ready(function() {
    jQuery( '.carousel-item a' ).attr('target', '_blank')
})
</script>

Share this post


Link to post
Share on other sites
davidcosgrove

And like magic - it works!!  Thanks so much Simon!!

Share this post


Link to post
Share on other sites

  • Similar Content

    • ProCom
      By ProCom+
      Hello, I built a WooCommerce website with Pagelines lines and I have two questions. 
      I would like to add text below my quickcarousel on the home page. Text would be displayed below the image would be the category name. On the Epson carousel you can see text below the image. I would like to do the same thing to my ProCom website.
      https://www.usaprocom.com/
      My second question is there a function to show how many items in cart on the menu for pagelines? 
       
      Any help will be appreciated. Thank you. 
       


    • ProCom
      By ProCom+
      Hello, I am trying to figure out how to add text links below images on the QuickCarousel. I am trying to create a carousel similar to the Epson Carousel. I have Platform 5 and using the DMS QuickCarousel. 


    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • richardjacruz
      By richardjacruz+
      I'm sorry to be a bother. I tried looking this up through the forum and then via Google, but  couldn't find the answer. 
      I want to add "alt" text to the images found in the RevSlider and the QuickCarousel at www.stevensoncrane.com. I added alt text in the media section of WP, and I refresh the page and published, but I still don't see content in the "alt=" part of any image HTML. 
      Is there a way of doing this with these two sections?
      Thanks,
      Rich
×