Resizing Slide-in
-
I am using the silde-in feature to add a facebook feed to my site. The problem I am having is the code stops working after it is saved in hustle
I have included what I have below.
Note* hustle seems to be changing the code..(Adding enter tags and removing other things)
<div class="video"> <div class="playbutton"></div> <img class="alignright" src="https://sunovaworx.com/site/wp-content/uploads/2018/07/facebook-512.png" data-video="https://www.youtube-nocookie.com/embed/U8HVQXkeU8U?&autoplay=1&rel=0&fs=0&showinfo=0&autohide=3&modestbranding=1" /> </div> <div class="tube"></div> <style> .playbutton{<br /> position:absolute;</p> <p> font-size:90px;<br /> cursor:pointer;<br /> color:red;<br />}<br /></style> <script type="text/javascript"> $('.playbutton,img').click(function(){ var video = '<div class="video-container"><iframe style="border: none; overflow: hidden;" src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FSunova-WorX-175948642466877%2F& tabs=timeline&width=340&height=500&small_header=true&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="340" height="500" frameborder="0" scrolling="no"></iframe></div>'; $('.video').hide(); $('.tube').html(video); $('.close').show(); }); $('.close').click(function(){ $('.video').show(); $('.tube').empty(); $('.close').hide(); }); </script>
- This topic was modified 6 years, 8 months ago by .
- This topic was modified 6 years, 8 months ago by .
- This topic was modified 6 years, 8 months ago by .
- This topic was modified 6 years, 8 months ago by .
The page I need help with: [log in to see the link]
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Resizing Slide-in’ is closed to new replies.