Megalomaniac
-
Posts
38 -
Joined
-
Last visited
Reputation Activity
-
Megalomaniac got a reaction from rebecadourado in Can I disable viewers 'dragging and dropping' my jpeg images onto their desktop?
Hello world. I found this out there. I believe its from two sources, I do not recall where exactly, but i love it! Special Thanks to those coding geniuses out there!
This cleanly disables drag and drop of images and disables the right click over all images.
Simply place this in your main CODE INJECTION under HEADER. Save it and your done!
<HTML> <HEAD></HEAD> <BODY on contextmenu="return false;" onselectstart="return false;" ondragstart="return false;"> </BODY> </HTML> <script> document.oncontextmenu = function(e){ var target = (typeof e !="undefined")? e.target: event.srcElement if (target.tagName == "IMG" || (target.tagName == 'A' && target.firstChild.tagName == 'IMG')) return false } </script>
Best to you all out there, Megalo
-
Megalomaniac got a reaction from moushi in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?
-
Megalomaniac got a reaction from Createxconform in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?
-
Megalomaniac got a reaction from pflaumrc in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?
-
Megalomaniac got a reaction from HelloRetro in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?
-
Megalomaniac got a reaction from seasparrow in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?
-
Megalomaniac got a reaction from NineWindBao in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?
-
Megalomaniac got a reaction from JESKA in How do I create hide/show section of an entire page of text, images and or galleries in Squarespace (spoiler function/accordian/collapse)?
I'm trying to reduce my individual portfolio project pages to a few main images and the rest of the page that may contain additional text, galleries or images, to essentially hide unless prompted by the viewer. call it an accordion or a spoiler function or collapse, not best with terminology.
I started by looking at this thread, which has a simple and elegant approach for text only.http://answers.squarespace.com/questions/72321/how-do-i-create-hideshow-faqs-in-squarespace-collapsed-text
This is great for those circumstances, but I need it to include galleries and images or the like.
Does anyone know how this can be done or a variant of it that may also work?