Layerslider deeplink issue - javascript

I have an issue with an external link to a specific layerslider slide (html version, NOT wordpress).
This is the web page:
http://www.jeeltcraft.com/sogea/HTML/slider.html
I asked in the support forum and they told me to use this javasript:
Some text
Which of course you can find in the layerslider documentation page:
http://www.docs.purethemes.net/sukces/layerslider/documentation/documentation.html#deeplinking
but I'm a total newbie about javascript and I cannot get the link working, the worse part is.. I can't understand how this javascript refers to the layername I put in the style"deeplink: layername;" of the layer I want to link; i guess it uses an index number and in the docu you can see that maybe index numbers have to be written on a variable...
The javascript link is located on the "primary-menu" element of the first page i linked, can someone please help me?
Any help will be appreciated gratefully

you can use html) Just write <p><img src="/image_part/image.jpg" border="0" alt="" /></p> PS. From Russia

If you never got this figured out it is because of the $
I ended up using jQuery in place of $ and changed javascript:void(0); to only javascript:; and it works as expected.

Related

How can i hide my html source code from getting copied?

How can i hide my page source from getting copied just like https://www.google.com
Please help me with any solution.
Is there any plugin need to add,please suggest me.
Hiding html sourcecode is not possible. The browser has to understand what you want to show and therefore needs to know your code.
Google does not encrypt the sourcecode. It is hard to read because a lot is going on but if you copy the sourcecode and paste it in notepad. You will have the same html markup.

How can I add embed function to a page

How can I add this function to something: http://awesomescreenshot.com/0ec17ri8dc
Its from this page.
Notice when you click on it a popup appears with the generated html to add the code somewhere. Have ben unable to find a good google search query that doesn't bring up irrelevant pages.
Thanks in adv.
Here's a quick solution.
If you know some basic jQuery you won't have problems with understanding the code but feel free to ask if you need any help.
Keep in mind that the code won't trigger a pop-up, it's just to get the embed code. I'd suggest using some plugin for this, fancybox is a good one.

navigating to anchors in div element

I have a HTML file with many <div> elements and I cannot navigate to anchor tags using JavaScript. I have put a demo in jsfiddle. Please see the link for JavaScript + CSS + HTML for details.
I can navigate to the "section5" but not to other sections.
jsfiddle demo
Can anyone help me with this?
Any help would be really appreciated....
Kind regards
Update : Thanks for the response. I have updated the link with cleaned up HTML. The javascript navigation still doesn't work :(
Update 2: Thanks for the suggestions, but still not working
I updated it with your suggestions.. but it doesn't work. If I take out the css entry "div.columnbreak { -webkit-column-break-after: always; the navigation works. When I put that back the navigation doesn't work*
You are not closed the tags correctly
For eg:,
Wrong
<p>This EPUB eBook is released under a Creative Commons (BY-NC-ND/3.0) Licence.
<p>Source text and images taken from the Public Domain.</p>
Correct
<p>This EPUB eBook is released under a Creative Commons (BY-NC-ND/3.0) Licence.
Source text and images taken from the Public Domain.</p>
Take a look: jsfiddle
You don't need to use <a> element at all, you can assign unique id to your section block.
I might be reading this wrong but it looks like your tags might not be closed properly
in section you have 2 open p's and only 1 close.
its throwing off wihch sections are in which and thats why your anchors are getting mixed up.
JSFiddle also doesn't seem to like the 3 div tags above section 3 but I havent figured out why, yet.
This is because of the location of the <a> tag. You should put it right after the <p> tag you're interested in.
And well, you should tidy up your markup a bit. Everyone knows Irene Adler is attracted by valid webpages.
This is a screenshot of the markup in your jsFiddle example:
As you can see, there are multiple <a>'s with name value "section1", "section2" etc. This will prevent your #sectionX hash to find a unique anchor.

Why do some Google AdSense hyperlinks use “s-p: go to”?

In some Google ads I have found that the hyperlink hrefs look like this
href="s-p: Go to XYZ.com"
These work, but I cannot see the code that translates the s-p: bit into an actual url.
What 'veil of ignorance' am I peering behind, please? I would like to know how the conversion is done. What technology is in use here?
This is an AdSense issue - see the ads that come between the article and the comments on this page:
http://rortybomb.wordpress.com/2010/10/08/foreclosure-fraud-for-dummies-1-the-chains-and-the-stakes/
From the link given, the question is about links like this:
<a href="s-p: Go to XYZ.com"
onclick="advert_cookie(); window.location='http://googleads.g.doubleclick.net/[...]'; return false;">
XYZ.com
</a>
To answer the question, no conversion is done: the JavaScript onclick handler sets window.location to the given URL, so the (invalid) href attribute is simply ignored.
The most probable answer is that this is a Wordpress plugin for adwords that displays the adds in this particular way.
I had never seen it before so dont take my word just yet but I´m looking into it!
The link behaviour is generated by Javascript snippets provided by Google, and not the browser itself. Hence the text is explicitly set by the Google code, and they chose to show that text for some reason unknown to me.
I know of no browsers supporting the s-p protocol as-is. Custom browser plugins may provided that functionalty, but I haven't heard of any.

Anyone know of a javascript removal tool for html

I am having issues with an Ebay template, if I try to upload it get's kicked back to me saying that it cannot contain javascript, I'm assuming that it's in the picture rollover option (mouseover pic enlarging tool) Any help would be greatly appreciated, I'm not real Java intuitive.
Just delete anything between the <script> and </script> tags. Or perhaps post the code snippet here so we can tell you what to remove.
The template should have a HTML file inside.
Search for ... parts and remove them as mentioned before.
Search for instances of onmouseover="...", onmouseout="..." and generally anything that looks like , removing the onsomeevent="dosomething" part.

Categories

Resources