SEO report of scotlandstophostels.co.uk
Redirected to scotlandstophostels.com/
Scotland's Top Hostels | The Best Hostels in Scotland
scotlandstophostels.com/
Scotlands Top Hostels offering budget backpackers hostel accommodation in Edinburgh and the Highlands as well as the Isle of Skye
Tasks
- Make the site mobile device friendly.
- Avoid using deprecated HTML tags.
- Implement the viewport meta tag.
SEO
URL
Domain : scotlandstophostels.com/
Character length : 24
Title
Scotland's Top Hostels | The Best Hostels in Scotland
Description
Scotlands Top Hostels offering budget backpackers hostel accommodation in Edinburgh and the Highlands as well as the Isle of Skye
Keywords (meta keywords)
scotland\'s top hostels, scotlands top hostels, scotland backpackers, scotland backpacker, scotland hostel, scotland hostel accommodation, scotland youth hostel accommodation, scotland backpackers acc
Error! Using “meta keywords” is meaningless in a while.
Error! Using “meta keywords” is meaningless in a while.
Open Graph Protocol
Error! The website does not use the OG (Open Graph) protocol.
Dublin Core
Dublin Core is not used
Underscores in the URLs
Good! No underscore (_) found in the URLs.
Search engine friendly URLs
Good! The website uses SEO friendly URLs.
Checking the robots.txt file
There is robots.txt file.
https://scotlandstophostels.com/robots.txt
https://scotlandstophostels.com/robots.txt
User-agent | Disallowed for the search engines |
---|---|
* |
|
Social
Social Engagement
No info found.
Content
Doctype
XHTML 1.0 Strict
Encoding
Perfect! The character encoding is set: UTF-8.
Language
We have found the language localisation: ”en”.
Title
Scotland's Top Hostels | The Best Hostels in Scotland
Character length : 58
Good! The title’s length is between 10 and 70 characters.
Character length : 58
Good! The title’s length is between 10 and 70 characters.
Text / HTML ratio
Ratio : 2%
Error! The text / HTML code ratio is under 15 percent on this website. This value shows that the website has relatively few text content.
Error! The text / HTML code ratio is under 15 percent on this website. This value shows that the website has relatively few text content.
Headings
H1 | H2 | H3 | H4 | H5 | H6 |
---|---|---|---|---|---|
3 | 3 | 3 | 0 | 0 | 0 |
Heading structure in the source code
- <H1> Scotland's Top Hostels
- <H2> Hostels
- <H3> Book A Hostel
- <H2> Tours
- <H3> Book A Tour
- <H1> Welcome to Scotland's Top Hostels!
- <H3>
- <H1> #bwg_container1_0 { visibility: hidden; } #bwg_container1_0 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_wrap_0 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_wrap_0 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 480px; height: 360px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_0 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 480px; max-height: 360px; vertical-align: middle; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_embed_0 { padding: 0 !important; margin: 0 !important; float: none !important; width: 480px; height: 360px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_0 { position: relative; z-index: 15; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0 { background: transparent url("http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0:hover #bwg_slideshow_play_pause-ico_0 { display: inline-block !important; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0:hover span { position: relative; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause-ico_0 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause-ico_0:hover { color: #CCCCCC; display: inline-block; position: relative; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0 { background: transparent url("http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0 { left: 0; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0 { right: 0; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0:hover, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0:hover { visibility: visible; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0:hover span { left: 20px; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0:hover span { left: auto; right: 20px; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0 span, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: 0px 0px 0px #000000; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0:hover, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0:hover { color: #CCCCCC; cursor: pointer; } #spider_slideshow_left-ico_0{ left: -9999px; } #spider_slideshow_right-ico_0{ left: -9999px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_container_0 { display: table; position: absolute; text-align: center; top: 0px; vertical-align: middle; width: 480px; height: 360px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_container_0 { display: table; height: 0px; position: absolute; width: 480px; /*z-index: 10105;*/ top: 0; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_0 { left: 20px; overflow: hidden; position: absolute; width: 440px; /*z-index: 10106;*/ } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnails_0 { height: 0px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 20px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnail_0 { position: relative; background: none; border: 1px solid #000000; border-radius: 0; cursor: pointer; float: left; height: 0px; margin: 0 1px; width: 0px; overflow: hidden; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_thumb_active_0 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_thumb_deactive_0 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnail_img_0 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0 { background-color: #3B3B3B; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 { background-color: #3B3B3B; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0 i, #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_0 #bwg_container2_0 .bwg_none_selectable_0 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_container_0 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_spun_0 { display: table-cell; overflow: hidden; position: relative; text-align: left; vertical-align: bottom; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_title_spun_0 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_spun_0 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_image_0 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_text_0, #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_text_0:hover { text-decoration: none; margin: 4px; font-size: 20px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_title_text_0 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 0 0 0 0; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; top:16px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_text_0 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_text_0 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_0 #bwg_container2_0 .bwg_slide_container_0 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_0 #bwg_container2_0 .bwg_slide_bg_0 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_0 #bwg_container2_0 .bwg_slider_0 { height: inherit; width: inherit; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun_0 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_second_spun_0 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_0 #bwg_container2_0 .bwg_grid_0 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_0 #bwg_container2_0 .bwg_gridlet_0 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_0 { display: inline-block; position: relative; width: 12px; height: 12px; border-radius: 5px; background: #F2D22E; margin: 3px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_container_0 { display: block; overflow: hidden; position: absolute; width: 480px; top: 0; z-index: 17; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_thumbnails_0 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 18px; width: 180px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_active_0 { background: #FFFFFF; opacity: 1; filter: Alpha(opacity=100); border: 1px solid #000000; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_deactive_0 { } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun1_0 { display: table; width: inherit; height: inherit; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun2_0 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_0 #bwg_container2_0 #spider_popup_overlay_0 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); }
- <H2>
Word cloud
- day6
- hostels6
- hostel5
- skye4
- book4
- edinburgh4
- best3
- scotland3
- award2
- experience2
- tours2
- highland2
- scotland's2
- around2
- enjoy2
- high2
- backpacker2
- tour2
- policy2
- early2
- winning2
- macbackpackers2
- hogmanay2
- loch2
- photos2
- top2
- ness2
Keyword matrix
word | title | descriptions | heading |
---|---|---|---|
day | |||
hostels | |||
hostel | |||
skye | |||
book | |||
edinburgh |
Two Word cloud
- award winning2
- scotland's top2
- top hostels2
Three Word cloud
- scotland's top hostels2
404 Page
The website has no standard 404 error page.
Flash content
Error! We found flash content(s) on this website which cannot be indexed by the search engines.
Frame
Good! The website does not use iFrame solutions.
Images
We found 4 images on this web page.
Alternate attributes for the following 4 images are missing. Search engines use "alt" tags to understand image content efficiently. We strongly recommend fixing this issue.
Alternate attributes for the following 4 images are missing. Search engines use "alt" tags to understand image content efficiently. We strongly recommend fixing this issue.
Readability
Flesch–Kincaid Grade Level
10.60
Flesch Reading Ease
40.90
Coleman Liau Index
12.00
Automated Readability Index (ARI)
11.90
Dale–Chall Readability
9.60
SMOG Index
12.00
Spache Readibility
5.00
Number of letters
8836
Number of words
1532
Number of sentences
125
Average words per sentences
12
Number of syllables
2780
Syllables in words
2689
Average syllables in words
1.81
Number of words in first three syllables
410
Percentage of word / syllables
26.76
Words not in Dale-Chall easy-word list
877
Words not in Spache easy-word list
183
Technologies
Mobile optimization
Error! This website is not optimized for mobile devices... It is optimized for devices which have at least 900px wide display!
Deprecated HTML elements
Good! No deprecated HTML tags are detected.
Redirection (www / not www)
Good! The web address is accessible in only one version. The www version is redirected to the version without www.
Deprecated HTML elements
Good! No deprecated HTML tags are detected.
Printability
Suggestion! Unfortunately, no printer-friendly CSS found.
Meta Tag (viewport tag, mobile devices)
Error! The meta tag named viewport is missing.
Speed test
Server response time
The server response time is fast enough.
Loading time
3,007 ms
Table layout
Good! No nested tables found.
Render blocking resources
Good! No render blocking elements found!
Speed test – Javascript
Javascript
Error! Too many javascript files found which slows down the page load on the website.
- http://scotlandstophostels.com/wordpress/wp-content/themes/scotlandstophostels/static/javascripts/swfobject.js
- http://scotlandstophostels.com/wordpress/wp-content/themes/scotlandstophostels/static/javascripts/fancybox/jquery.fancybox.pack.js?v=2.0.6
- http://scotlandstophostels.com/cookie.min.js
- http://scotlandstophostels.com/wordpress/wp-includes/js/jquery/jquery.js?ver=1.12.4
- http://scotlandstophostels.com/wordpress/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
- http://scotlandstophostels.com/wordpress/wp-content/plugins/contact-bank/assets/js/jquery.Tooltip.js?ver=4.7.3
- http://scotlandstophostels.com/wordpress/wp-content/plugins/contact-bank/assets/js/jquery.validate.min.js?ver=4.7.3
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/bwg_frontend.js?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/jquery.sumoselect.min.js?ver=3.0.2
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/jquery.mobile.js?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/jquery.mCustomScrollbar.concat.min.js?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/jquery.fullscreen-0.4.1.js?ver=0.4.1
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/bwg_gallery_box.js?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/js/bwg_embed.js?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/jquery-collapse-o-matic/js/collapse.js?ver=1.6.6
- http://scotlandstophostels.com/wordpress/wp-includes/js/wp-embed.min.js?ver=4.7.3
File size of all javascript files combined
0.00
Javascript minifying
Great! The Javascript files are minified.
Speed test – CSS
CSS
Error! Too many CSS files detected that slows down the page load.
- http://scotlandstophostels.com/wordpress/wp-content/themes/scotlandstophostels/style.css
- http://scotlandstophostels.com/wordpress/wp-content/themes/scotlandstophostels/static/javascripts/fancybox/jquery.fancybox.css?v=2.0.6
- http://scotlandstophostels.com/wordpress/wp-content/plugins/contact-bank/assets/css/stylesheet.css?ver=4.7.3
- http://scotlandstophostels.com/wordpress/wp-content/plugins/contact-bank/assets/css/system-message.css?ver=4.7.3
- http://scotlandstophostels.com/wordpress/wp-content/plugins/jquery-collapse-o-matic/light_style.css?ver=1.6
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/css/bwg_frontend.css?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/css/font-awesome/font-awesome.css?ver=4.6.3
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/css/jquery.mCustomScrollbar.css?ver=1.3.38
- http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/css/sumoselect.css?ver=3.0.2
File size of all css files combined
0.00
CSS minifying
Great! The CSS elements are minified.
Speed test – Compression
Uncompressed size of the of the HTML
0.00
Gzip compression
Your site uses compression.
Speed test – Browser cache
Browser cache
The browser cache is set correctly for all elements.
Speed test – Images
File size of all images combined
0.00
Image optimisation
All images are optimized.
Links
We found a total of 30 different links.
Internal links: 15
External links: 15
Internal links: 15
External links: 15
External links:
Internal links:
Link text (anchor) | Link strength |
---|---|
Scotland's Top Hostels | |
Home | |
FAQ's | |
Hostel Gallery | |
Contact Us | |
Edinburgh Hogmanay | |
Edinburgh | |
Loch Ness | |
Pitlochry | |
Inverness | |
Skye | |
Fort William | |
Oban | |
Hostel Photos | |
Edinburgh hostels |
Website security
IP
216.70.105.223
External hidden links
Good! No hidden external links found
Looking for eval()
Good! No eval(bas64_decode()) scripts are found
Checking for XSS vulnerability
No XSS vulnerability found
Email encryption
Good! We have not found any unencrypted email addresses.
Sites on same ip
Icons
Favicon
Good! The website uses favicon.
Order of Heading elements on mobile by position
- H1 : Scotland's Top Hostels, ( 0px from top )
- H2 : Hostels, ( 190px from top )
- H2 : Tours, ( 190px from top )
- H1 : Welcome to Scotland's Top Hostels! , ( 190px from top )
- H3 : Offering you the very best choice of backpacker hostels in the best, hand picked, locations around bonnie Scotland! , ( 261px from top )
- H1 : #bwg_container1_0 { visibility: hidden; } #bwg_container1_0 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_wrap_0 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_wrap_0 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 480px; height: 360px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_0 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 480px; max-height: 360px; vertical-align: middle; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_embed_0 { padding: 0 !important; margin: 0 !important; float: none !important; width: 480px; height: 360px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_0 { position: relative; z-index: 15; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0 { background: transparent url("http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0:hover #bwg_slideshow_play_pause-ico_0 { display: inline-block !important; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0:hover span { position: relative; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause_0 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause-ico_0 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #bwg_slideshow_play_pause-ico_0:hover { color: #CCCCCC; display: inline-block; position: relative; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0 { background: transparent url("http://scotlandstophostels.com/wordpress/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0 { left: 0; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0 { right: 0; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0:hover, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0:hover { visibility: visible; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left_0:hover span { left: 20px; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right_0:hover span { left: auto; right: 20px; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0 span, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: 0px 0px 0px #000000; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_0 #bwg_container2_0 #spider_slideshow_left-ico_0:hover, #bwg_container1_0 #bwg_container2_0 #spider_slideshow_right-ico_0:hover { color: #CCCCCC; cursor: pointer; } #spider_slideshow_left-ico_0{ left: -9999px; } #spider_slideshow_right-ico_0{ left: -9999px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_container_0 { display: table; position: absolute; text-align: center; top: 0px; vertical-align: middle; width: 480px; height: 360px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_container_0 { display: table; height: 0px; position: absolute; width: 480px; /*z-index: 10105;*/ top: 0; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_0 { left: 20px; overflow: hidden; position: absolute; width: 440px; /*z-index: 10106;*/ } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnails_0 { height: 0px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 20px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnail_0 { position: relative; background: none; border: 1px solid #000000; border-radius: 0; cursor: pointer; float: left; height: 0px; margin: 0 1px; width: 0px; overflow: hidden; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_thumb_active_0 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_thumb_deactive_0 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_thumbnail_img_0 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0 { background-color: #3B3B3B; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 { background-color: #3B3B3B; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_left_0 i, #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_filmstrip_right_0 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_0 #bwg_container2_0 .bwg_none_selectable_0 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_container_0 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_spun_0 { display: table-cell; overflow: hidden; position: relative; text-align: left; vertical-align: bottom; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_title_spun_0 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_spun_0 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_image_0 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_text_0, #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_watermark_text_0:hover { text-decoration: none; margin: 4px; font-size: 20px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_title_text_0 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 0 0 0 0; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; top:16px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_text_0 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_description_text_0 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_0 #bwg_container2_0 .bwg_slide_container_0 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_0 #bwg_container2_0 .bwg_slide_bg_0 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_0 #bwg_container2_0 .bwg_slider_0 { height: inherit; width: inherit; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun_0 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_second_spun_0 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_0 #bwg_container2_0 .bwg_grid_0 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_0 #bwg_container2_0 .bwg_gridlet_0 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_0 { display: inline-block; position: relative; width: 12px; height: 12px; border-radius: 5px; background: #F2D22E; margin: 3px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_container_0 { display: block; overflow: hidden; position: absolute; width: 480px; top: 0; z-index: 17; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_thumbnails_0 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 18px; width: 180px; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_active_0 { background: #FFFFFF; opacity: 1; filter: Alpha(opacity=100); border: 1px solid #000000; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_dots_deactive_0 { } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun1_0 { display: table; width: inherit; height: inherit; } #bwg_container1_0 #bwg_container2_0 .bwg_slideshow_image_spun2_0 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_0 #bwg_container2_0 #spider_popup_overlay_0 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_0 = []; var event_stack_0 = []; data_0["0"] = []; data_0["0"]["id"] = "40"; data_0["0"]["alt"] = "map (2)"; data_0["0"]["description"] = "Orientation: 1<br />"; data_0["0"]["filetype"] = "JPG"; data_0["0"]["filename"] = "map (2)"; data_0["0"]["image_url"] = "/map (2).jpg"; data_0["0"]["thumb_url"] = "/thumb/map (2).jpg"; data_0["0"]["date"] = "01 May 2017, 20:10"; data_0["0"]["is_embed"] = ""; data_0["0"]["is_embed_video"] = ""; data_0["1"] = []; data_0["1"]["id"] = "38"; data_0["1"]["alt"] = "Castle Rock (2)"; data_0["1"]["description"] = "Orientation: 1<br />"; data_0["1"]["filetype"] = "JPG"; data_0["1"]["filename"] = "Castle Rock (2)"; data_0["1"]["image_url"] = "/Castle_Rock (2).jpg"; data_0["1"]["thumb_url"] = "/thumb/Castle_Rock (2).jpg"; data_0["1"]["date"] = "01 May 2017, 20:10"; data_0["1"]["is_embed"] = ""; data_0["1"]["is_embed_video"] = ""; data_0["2"] = []; data_0["2"]["id"] = "39"; data_0["2"]["alt"] = "Lochside (2)"; data_0["2"]["description"] = "Orientation: 1<br />"; data_0["2"]["filetype"] = "JPG"; data_0["2"]["filename"] = "Lochside (2)"; data_0["2"]["image_url"] = "/Lochside (2).jpg"; data_0["2"]["thumb_url"] = "/thumb/Lochside (2).jpg"; data_0["2"]["date"] = "01 May 2017, 20:10"; data_0["2"]["is_embed"] = ""; data_0["2"]["is_embed_video"] = ""; data_0["3"] = []; data_0["3"]["id"] = "37"; data_0["3"]["alt"] = "High Street (2)"; data_0["3"]["description"] = "Orientation: 1<br />"; data_0["3"]["filetype"] = "JPG"; data_0["3"]["filename"] = "High Street (2)"; data_0["3"]["image_url"] = "/High_Street (2).jpg"; data_0["3"]["thumb_url"] = "/thumb/High_Street (2).jpg"; data_0["3"]["date"] = "01 May 2017, 20:10"; data_0["3"]["is_embed"] = ""; data_0["3"]["is_embed_video"] = ""; data_0["4"] = []; data_0["4"]["id"] = "36"; data_0["4"]["alt"] = "fort william (2)"; data_0["4"]["description"] = "Orientation: 1<br />"; data_0["4"]["filetype"] = "JPG"; data_0["4"]["filename"] = "fort william (2)"; data_0["4"]["image_url"] = "/fort_william (2).jpg"; data_0["4"]["thumb_url"] = "/thumb/fort_william (2).jpg"; data_0["4"]["date"] = "01 May 2017, 20:10"; data_0["4"]["is_embed"] = ""; data_0["4"]["is_embed_video"] = ""; data_0["5"] = []; data_0["5"]["id"] = "35"; data_0["5"]["alt"] = "Inverness (2)"; data_0["5"]["description"] = "Orientation: 1<br />"; data_0["5"]["filetype"] = "JPG"; data_0["5"]["filename"] = "Inverness (2)"; data_0["5"]["image_url"] = "/Inverness (2).jpg"; data_0["5"]["thumb_url"] = "/thumb/Inverness (2).jpg"; data_0["5"]["date"] = "01 May 2017, 20:10"; data_0["5"]["is_embed"] = ""; data_0["5"]["is_embed_video"] = ""; data_0["6"] = []; data_0["6"]["id"] = "34"; data_0["6"]["alt"] = "Oban (2)"; data_0["6"]["description"] = "Orientation: 1<br />"; data_0["6"]["filetype"] = "JPG"; data_0["6"]["filename"] = "Oban (2)"; data_0["6"]["image_url"] = "/Oban (2).jpg"; data_0["6"]["thumb_url"] = "/thumb/Oban (2).jpg"; data_0["6"]["date"] = "01 May 2017, 20:10"; data_0["6"]["is_embed"] = ""; data_0["6"]["is_embed_video"] = ""; data_0["7"] = []; data_0["7"]["id"] = "33"; data_0["7"]["alt"] = "Pitlochry (2)"; data_0["7"]["description"] = "Orientation: 1<br />"; data_0["7"]["filetype"] = "JPG"; data_0["7"]["filename"] = "Pitlochry (2)"; data_0["7"]["image_url"] = "/Pitlochry (2).jpg"; data_0["7"]["thumb_url"] = "/thumb/Pitlochry (2).jpg"; data_0["7"]["date"] = "01 May 2017, 20:10"; data_0["7"]["is_embed"] = ""; data_0["7"]["is_embed_video"] = ""; data_0["8"] = []; data_0["8"]["id"] = "32"; data_0["8"]["alt"] = "Royal (2)"; data_0["8"]["description"] = "Orientation: 1<br />"; data_0["8"]["filetype"] = "JPG"; data_0["8"]["filename"] = "Royal (2)"; data_0["8"]["image_url"] = "/Royal (2).jpg"; data_0["8"]["thumb_url"] = "/thumb/Royal (2).jpg"; data_0["8"]["date"] = "01 May 2017, 20:10"; data_0["8"]["is_embed"] = ""; data_0["8"]["is_embed_video"] = ""; data_0["9"] = []; data_0["9"]["id"] = "31"; data_0["9"]["alt"] = "Skye (2)"; data_0["9"]["description"] = "Orientation: 1<br />"; data_0["9"]["filetype"] = "JPG"; data_0["9"]["filename"] = "Skye (2)"; data_0["9"]["image_url"] = "/Skye (2).jpg"; data_0["9"]["thumb_url"] = "/thumb/Skye (2).jpg"; data_0["9"]["date"] = "01 May 2017, 20:10"; data_0["9"]["is_embed"] = ""; data_0["9"]["is_embed_video"] = ""; var bwg_trans_in_progress_0 = false; var bwg_transition_duration_0 = 1000; var bwg_playInterval_0; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_0); /* Set watermark container size.*/ function bwg_change_watermark_container_0() { jQuery(".bwg_slider_0").children().each(function() { if (jQuery(this).css("zIndex") == 2) { var bwg_current_image_span = jQuery(this).find("img"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("iframe"); } if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); jQuery(".bwg_slideshow_watermark_spun_0").width(width); jQuery(".bwg_slideshow_watermark_spun_0").height(height); jQuery(".bwg_slideshow_title_spun_0").width(width); jQuery(".bwg_slideshow_title_spun_0").height(height); jQuery(".bwg_slideshow_description_spun_0").width(width); jQuery(".bwg_slideshow_description_spun_0").height(height); jQuery(".bwg_slideshow_watermark_0").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_0").text())) { jQuery(".bwg_slideshow_title_text_0").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_0").text())) { jQuery(".bwg_slideshow_description_text_0").css({display: ''}); } } }); } var bwg_current_key_0 = '0'; var bwg_current_filmstrip_pos_0 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_0(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_0 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_0").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } function bwg_move_filmstrip_0() { var image_left = jQuery(".bwg_slideshow_thumb_active_0").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_0").position().left + jQuery(".bwg_slideshow_thumb_active_0").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_0").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_0").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left < Math.abs(long_filmstrip_cont_left)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({ left: -image_left }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } else if (image_right > long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } } function bwg_move_dots_0() { var image_left = jQuery(".bwg_slideshow_dots_active_0").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_0").position().left + jQuery(".bwg_slideshow_dots_active_0").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_0").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_0").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_0").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_0").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left < Math.abs(long_filmstrip_cont_left)) { jQuery(".bwg_slideshow_dots_thumbnails_0").animate({ left: -image_left }, { duration: 500, complete: function () { } }); } else if (image_right > long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_0").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_0() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() < jQuery(".bwg_slideshow_filmstrip_0").width()) { jQuery(".bwg_slideshow_filmstrip_left_0").hide(); jQuery(".bwg_slideshow_filmstrip_right_0").hide(); } else { jQuery(".bwg_slideshow_filmstrip_left_0").show(); jQuery(".bwg_slideshow_filmstrip_right_0").show(); } } function bwg_testBrowser_cssTransitions_0() { return bwg_testDom_0('Transition'); } function bwg_testBrowser_cssTransforms3d_0() { return bwg_testDom_0('Perspective'); } function bwg_testDom_0(prop) { /* Browser vendor CSS prefixes.*/ var browserVendors = ['', '-webkit-', '-moz-', '-ms-', '-o-', '-khtml-']; /* Browser vendor DOM prefixes.*/ var domPrefixes = ['', 'Webkit', 'Moz', 'ms', 'O', 'Khtml']; var i = domPrefixes.length; while (i--) { if (typeof document.body.style[domPrefixes[i] + prop] !== 'undefined') { return true; } } return false; } function bwg_cube_0(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) { /* If browser does not support 3d transforms/CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_0()) { return bwg_fallback_0(current_image_class, next_image_class, direction); } if (!bwg_testBrowser_cssTransforms3d_0()) { return bwg_fallback3d_0(current_image_class, next_image_class, direction); } bwg_trans_in_progress_0 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); jQuery(".bwg_slide_bg_0").css('perspective', 1000); jQuery(current_image_class).css({ transform : 'translateZ(' + tz + 'px)', backfaceVisibility : 'hidden' }); jQuery(next_image_class).css({ opacity : 1, filter: 'Alpha(opacity=100)', zIndex: 2, backfaceVisibility : 'hidden', transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)' }); jQuery(".bwg_slider_0").css({ transform: 'translateZ(-' + tz + 'px)', transformStyle: 'preserve-3d' }); /* Execution steps.*/ setTimeout(function () { jQuery(".bwg_slider_0").css({ transition: 'all ' + bwg_transition_duration_0 + 'ms ease-in-out', transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)' }); }, 20); /* After transition.*/ jQuery(".bwg_slider_0").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { /*if (bwg_from_focus_0) { bwg_from_focus_0 = false; return; }*/ jQuery(current_image_class).removeAttr('style'); jQuery(next_image_class).removeAttr('style'); jQuery(".bwg_slider_0").removeAttr('style'); jQuery(current_image_class).css({'opacity' : 0, filter: 'Alpha(opacity=0)', 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, filter: 'Alpha(opacity=100)', 'z-index' : 2}); bwg_change_watermark_container_0(); bwg_trans_in_progress_0 = false; if (typeof event_stack_0 !== 'undefined') { if (event_stack_0.length > 0) { key = event_stack_0[0].split("-"); event_stack_0.shift(); bwg_change_image_0(key[0], key[1], data_0, true); } } } } function bwg_cubeH_0(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_0(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_0(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_0(current_image_class, next_image_class, direction) { bwg_fade_0(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_0(current_image_class, next_image_class, direction) { bwg_sliceV_0(current_image_class, next_image_class, direction); } function bwg_none_0(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_0(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); } function bwg_fade_0(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); if (bwg_testBrowser_cssTransitions_0()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_0 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_0(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_0); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_0, complete: function () { bwg_change_watermark_container_0(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_0, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_0, 1); } } function bwg_grid_0(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_0()) { return bwg_fallback_0(current_image_class, next_image_class, direction); } bwg_trans_in_progress_0 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_0").removeClass("bwg_slideshow_thumb_active_0").addClass("bwg_slideshow_thumb_deactive_0"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_thumb_deactive_0").addClass("bwg_slideshow_thumb_active_0"); jQuery(".bwg_slideshow_dots_0").removeClass("bwg_slideshow_dots_active_0").addClass("bwg_slideshow_dots_deactive_0"); jQuery("#bwg_dots_" + bwg_current_key_0 + "_0").removeClass("bwg_slideshow_dots_deactive_0").addClass("bwg_slideshow_dots_active_0"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_0) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_0").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_0 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_0'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_0"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_0").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i < cols; i++) { var topDist = 0, img_topDst = (jQuery(".bwg_slide_bg_0").height() - cur_img.height()) / 2, newColWidth = colWidth; /* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*/ if (colRemainder > 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j < rows; j++) { var newRowHeight = rowHeight, newRowRemainder = rowRemainder; /* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*/ if (newRowRemainder > 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { /*if (bwg_from_focus_0) { bwg_from_focus_0 = false; return; }*/ jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_0(); grid.remove(); bwg_trans_in_progress_0 = false; if (typeof event_stack_0 !== 'undefined') { if (event_stack_0.length > 0) { key = event_stack_0[0].split("-"); event_stack_0.shift(); bwg_change_image_0(key[0], key[1], data_0, true); } } } } function bwg_sliceV_0(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_0(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_scaleOut_0(current_image_class, next_image_class, direction) { bwg_grid_0(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_blindH_0(current_image_class, next_image_class, direction) { bwg_grid_0(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_iterator_0() { var iterator = 1; if (0) { iterator = Math.floor((data_0.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_0(current_key, key, data_0, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_0").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); if (data_0[key]) { if (jQuery('.bwg_ctrl_btn_0').hasClass('fa-pause')) { bwg_play_0(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_0").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_0").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_0").attr("image_key"); } } if (bwg_trans_in_progress_0) { event_stack_0.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_0 > key) { var direction = 'left'; } else if (bwg_current_key_0 == key) { return; } jQuery(".bwg_slideshow_watermark_0").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_0").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_0").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_0 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_0").width() + 2 + 2 * 1); bwg_current_key_0 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_0").attr('image_id', data_0[key]["id"]); jQuery(".bwg_slideshow_title_text_0").html(jQuery('').html(data_0[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_0").html(jQuery('').html(data_0[key]["description"]).text()); /*var current_image_class = "#image_id_0_" + data_0[current_key]["id"]; var next_image_class = "#image_id_0_" + data_0[key]["id"];*/ var current_image_class = jQuery(".bwg_slideshow_image_spun_0").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_0" : ".bwg_slideshow_image_second_spun_0"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_0" ? ".bwg_slideshow_image_spun_0" : ".bwg_slideshow_image_second_spun_0"; var is_embed = data_0[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_0[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = '
").attr("src", 'http://scotlandstophostels.com/wordpress/wp-content/uploads/photo-gallery' + jQuery('').html(data_0[index]["image_url"]).text()); } } } } else { for (var i = 0; i < data_0.length; i++) { var is_embed = data_0[i]['filetype'].indexOf("EMBED_") > -1 ? true : false; if (typeof data_0[i] != "undefined") { if (!is_embed) { jQuery("
").attr("src", 'http://scotlandstophostels.com/wordpress/wp-content/uploads/photo-gallery' + jQuery('').html(data_0[i]["image_url"]).text()); } } } } } function bwg_popup_resize_0() { var parent_width = jQuery(".bwg_slideshow_image_wrap_0").parent().width(); if (parent_width >= 480) { jQuery(".bwg_slideshow_image_wrap_0").css({width: 480}); jQuery(".bwg_slideshow_image_wrap_0").css({height: 360}); jQuery(".bwg_slideshow_image_container_0").css({width: 480}); jQuery(".bwg_slideshow_image_container_0").css({height: (360)}); jQuery(".bwg_slideshow_image_0").css({ cssText: "max-width: 480px !important; max-height: 360px !important;" }); jQuery(".bwg_slideshow_embed_0").css({ cssText: "width: 480px !important; height: 360px !important;" }); bwg_resize_instagram_post_0(); /* Set watermark container size.*/ bwg_change_watermark_container_0(); jQuery(".bwg_slideshow_filmstrip_container_0").css({width: 480}); jQuery(".bwg_slideshow_filmstrip_0").css({width: (480 - 40)}); jQuery(".bwg_slideshow_dots_container_0").css({width: 480}); jQuery("#bwg_slideshow_play_pause-ico_0").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_0").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover").css({fontSize: (20)}); jQuery(".bwg_slideshow_title_text_0").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_0").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_0").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_0").css({height: ((parent_width) * 0.75)}); jQuery(".bwg_slideshow_image_container_0").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_container_0").css({height: ((parent_width) * 0.75 - 0)}); jQuery(".bwg_slideshow_image_0").css({ cssText: "max-width: " + parent_width + "px !important; max-height: " + (parent_width * (0.75) - 0 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_0").css({ cssText: "width: " + parent_width + "px !important; height: " + (parent_width * (0.75) - 0 - 1) + "px !important;" }); bwg_resize_instagram_post_0(); /* Set watermark container size.*/ bwg_change_watermark_container_0(); jQuery(".bwg_slideshow_filmstrip_container_0").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_0").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_0").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_0").css({fontSize: ((parent_width) * 0.125)}); jQuery(".bwg_slideshow_watermark_image_0").css({maxWidth: ((parent_width) * 0.1875), maxHeight: ((parent_width) * 0.1875)}); jQuery(".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover").css({fontSize: ((parent_width) * 0.041666666666667)}); jQuery(".bwg_slideshow_title_text_0").css({fontSize: ((parent_width) * 0.066666666666667)}); jQuery(".bwg_slideshow_description_text_0").css({fontSize: ((parent_width) * 0.058333333333333)}); jQuery(".bwg_slideshow_image_0").css({'display':'inline-block'}); } if (data_0[parseInt(jQuery("#bwg_current_image_key_0").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_0").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_0").css({display: ''}); } } jQuery(document).ready(function() { bwg_popup_resize_0(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_0').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_0').swiperight(function () { bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) - bwg_iterator_0()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_0').val()) - bwg_iterator_0()) % data_0.length : data_0.length - 1, data_0); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_0').swipeleft(function () { bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) + bwg_iterator_0()) % data_0.length, data_0); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_0(); jQuery("#bwg_container1_0").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_0").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_0").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_0").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_0(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_0").height(jQuery(".bwg_slideshow_image_wrap_0").height() - 0); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_0').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_0").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_0").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_0").click(function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_0" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())) { jQuery(".bwg_slideshow_filmstrip_left_0").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width() - 2)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left - 2)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_0").width() - jQuery(".bwg_slideshow_filmstrip_0").width())) { jQuery(".bwg_slideshow_filmstrip_right_0").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_0").click(function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_0" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left < 0) { jQuery(".bwg_slideshow_filmstrip_right_0").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left > - 2) { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_0").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left + 2)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_0").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_0").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_0(jQuery(".bwg_slideshow_filmstrip_0").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_0").click(function () { if (jQuery(".bwg_ctrl_btn_0").hasClass("fa-play")) { bwg_play_0(); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause"); if (0) { document.getElementById("bwg_audio_0").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_0); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-play"); if (0) { document.getElementById("bwg_audio_0").pause(); } } }); if (1) { bwg_play_0(); jQuery(".bwg_slideshow_play_pause_0").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_0").attr("class", "bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause"); if (0) { document.getElementById("bwg_audio_0").play(); } } jQuery(".bwg_slideshow_image_0").removeAttr("width"); jQuery(".bwg_slideshow_image_0").removeAttr("height"); }); function bwg_resize_instagram_post_0() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_0').length) { var post_width = jQuery('.bwg_slideshow_embed_0').width(); var post_height = jQuery('.bwg_slideshow_embed_0').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_0').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_0(); } function bwg_play_0() { window.clearInterval(bwg_playInterval_0); /* Play.*/ bwg_playInterval_0 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_0.length - 1) * Math.random() + 1); } bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) + iterator) % data_0.length, data_0) }, '5000'); } jQuery(window).focus(function() { /* event_stack_0 = [];*/ if (!jQuery(".bwg_ctrl_btn_0").hasClass("fa-play")) { bwg_play_0(); } var i_0 = 0; jQuery(".bwg_slider_0").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_0").val(i_0); } i_0++; }); }); jQuery(window).blur(function() { event_stack_0 = []; window.clearInterval(bwg_playInterval_0); }); function bwg_gallery_box_0(image_id, openEcommerce) { if(typeof openEcommerce == undefined){ openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_0" ).val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_0" ).val() : 0; var filtersearchname = jQuery("#bwg_search_input_0" ).val() ? jQuery("#bwg_search_input_0" ).val() : ''; spider_createpopup('http://scotlandstophostels.com/wordpress/wp-admin/admin-ajax.php?action=GalleryBox¤t_view=0&gallery_id=2&theme_id=1&open_with_fullscreen=0&open_with_autoplay=0&image_width=800&image_height=500&image_effect=fade&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=1&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=1&enable_image_facebook=1&enable_image_twitter=1&enable_image_google=1&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tag=0¤t_url=http%3A%2F%2Fscotlandstophostels.com%2F&image_id=' + image_id + "&filter_tag_0=" + filterTags + ecommerce + "&filter_search_name_0=" + filtersearchname, '0', '800', '500', 1, 'testpopup', 5, "bottom"); } function bwg_document_ready_0() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_0").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_0(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_0 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_0").attr("data-image-id"); bwg_gallery_box_0(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_0(); }); , ( 466px from top ) '; jQuery(next_image_class).html(innhtml); if ('do_nothing' == 'open_lightbox' || 0) { bwg_document_ready_0(); } bwg_fade_0(current_image_class, next_image_class, direction); bwg_move_dots_0(); if (data_0[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_0").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_0").css({display: ''}); } } } function bwg_preload_images_0(key) { count = 5; var count_all = data_0.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i < key + count; i++) { var index = parseInt((i + count_all) % count_all); var is_embed = data_0[index]['filetype'].indexOf("EMBED_") > -1 ? true : false; if (typeof data_0[index] != "undefined") { if (!is_embed) { jQuery("
- H3 : Book A Hostel, ( 515px from top )
- H3 : Book A Tour, ( 537px from top )
- H2 : , ( 841px from top )
Typos
cotlandstophostels.co.uk, sqcotlandstophostels.co.uk, qcotlandstophostels.co.uk, swcotlandstophostels.co.uk, wcotlandstophostels.co.uk, secotlandstophostels.co.uk, ecotlandstophostels.co.uk, szcotlandstophostels.co.uk, zcotlandstophostels.co.uk, sxcotlandstophostels.co.uk, xcotlandstophostels.co.uk, sccotlandstophostels.co.uk, ccotlandstophostels.co.uk, sotlandstophostels.co.uk, scxotlandstophostels.co.uk, sxotlandstophostels.co.uk, scsotlandstophostels.co.uk, ssotlandstophostels.co.uk, scotlandstophostels.co.uk, sotlandstophostels.co.uk, scdotlandstophostels.co.uk, sdotlandstophostels.co.uk, scfotlandstophostels.co.uk, sfotlandstophostels.co.uk, scvotlandstophostels.co.uk, svotlandstophostels.co.uk, sc otlandstophostels.co.uk, s otlandstophostels.co.uk, sctlandstophostels.co.uk, scoitlandstophostels.co.uk, scitlandstophostels.co.uk, scoktlandstophostels.co.uk, scktlandstophostels.co.uk, scoltlandstophostels.co.uk, scltlandstophostels.co.uk, scotlandstophostels.co.uk, sctlandstophostels.co.uk, scoptlandstophostels.co.uk, scptlandstophostels.co.uk, sco9tlandstophostels.co.uk, sc9tlandstophostels.co.uk, sco0tlandstophostels.co.uk, sc0tlandstophostels.co.uk, scolandstophostels.co.uk, scotrlandstophostels.co.uk, scorlandstophostels.co.uk, scotflandstophostels.co.uk, scoflandstophostels.co.uk, scotglandstophostels.co.uk, scoglandstophostels.co.uk, scothlandstophostels.co.uk, scohlandstophostels.co.uk, scotylandstophostels.co.uk, scoylandstophostels.co.uk, scot5landstophostels.co.uk, sco5landstophostels.co.uk, scot6landstophostels.co.uk, sco6landstophostels.co.uk, scotandstophostels.co.uk, scotlpandstophostels.co.uk, scotpandstophostels.co.uk, scotloandstophostels.co.uk, scotoandstophostels.co.uk, scotlandstophostels.co.uk, scotandstophostels.co.uk, scotliandstophostels.co.uk, scotiandstophostels.co.uk, scotlkandstophostels.co.uk, scotkandstophostels.co.uk, scotlmandstophostels.co.uk, scotmandstophostels.co.uk, scotl.andstophostels.co.uk, scot.andstophostels.co.uk, scotlndstophostels.co.uk, scotlaqndstophostels.co.uk, scotlqndstophostels.co.uk, scotlawndstophostels.co.uk, scotlwndstophostels.co.uk, scotlazndstophostels.co.uk, scotlzndstophostels.co.uk, scotlandstophostels.co.uk, scotlndstophostels.co.uk, scotlaxndstophostels.co.uk, scotlxndstophostels.co.uk, scotlasndstophostels.co.uk, scotlsndstophostels.co.uk, scotladstophostels.co.uk, scotlanbdstophostels.co.uk, scotlabdstophostels.co.uk, scotlangdstophostels.co.uk, scotlagdstophostels.co.uk, scotlanhdstophostels.co.uk, scotlahdstophostels.co.uk, scotlanjdstophostels.co.uk, scotlajdstophostels.co.uk, scotlanmdstophostels.co.uk, scotlamdstophostels.co.uk, scotlan dstophostels.co.uk, scotla dstophostels.co.uk, scotlanstophostels.co.uk, scotlandxstophostels.co.uk, scotlanxstophostels.co.uk, scotlandsstophostels.co.uk, scotlansstophostels.co.uk, scotlandwstophostels.co.uk, scotlanwstophostels.co.uk, scotlandestophostels.co.uk, scotlanestophostels.co.uk, scotlandrstophostels.co.uk, scotlanrstophostels.co.uk, scotlandfstophostels.co.uk, scotlanfstophostels.co.uk, scotlandvstophostels.co.uk, scotlanvstophostels.co.uk, scotlandcstophostels.co.uk, scotlancstophostels.co.uk, scotlandtophostels.co.uk, scotlandsqtophostels.co.uk, scotlandqtophostels.co.uk, scotlandswtophostels.co.uk, scotlandwtophostels.co.uk, scotlandsetophostels.co.uk, scotlandetophostels.co.uk, scotlandsztophostels.co.uk, scotlandztophostels.co.uk, scotlandsxtophostels.co.uk, scotlandxtophostels.co.uk, scotlandsctophostels.co.uk, scotlandctophostels.co.uk, scotlandsophostels.co.uk, scotlandstrophostels.co.uk, scotlandsrophostels.co.uk, scotlandstfophostels.co.uk, scotlandsfophostels.co.uk, scotlandstgophostels.co.uk, scotlandsgophostels.co.uk, scotlandsthophostels.co.uk, scotlandshophostels.co.uk, scotlandstyophostels.co.uk, scotlandsyophostels.co.uk, scotlandst5ophostels.co.uk, scotlands5ophostels.co.uk, scotlandst6ophostels.co.uk, scotlands6ophostels.co.uk, scotlandstphostels.co.uk, scotlandstoiphostels.co.uk, scotlandstiphostels.co.uk, scotlandstokphostels.co.uk, scotlandstkphostels.co.uk, scotlandstolphostels.co.uk, scotlandstlphostels.co.uk, scotlandstophostels.co.uk, scotlandstphostels.co.uk, scotlandstopphostels.co.uk, scotlandstpphostels.co.uk, scotlandsto9phostels.co.uk, scotlandst9phostels.co.uk, scotlandsto0phostels.co.uk, scotlandst0phostels.co.uk, scotlandstohostels.co.uk, scotlandstopohostels.co.uk, scotlandstoohostels.co.uk, scotlandstoplhostels.co.uk, scotlandstolhostels.co.uk, scotlandstop0hostels.co.uk, scotlandsto0hostels.co.uk, scotlandstop-hostels.co.uk, scotlandsto-hostels.co.uk, scotlandstophostels.co.uk, scotlandstohostels.co.uk, scotlandstop_hostels.co.uk, scotlandsto_hostels.co.uk