Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-03-12 14:50:10

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Simple HOW to for select all Option

Its not somethink big but i think is useful for some one who use share videos or photos

Step 1

Add to your /public_html/templates/Your-template/header.tpl.php

above </head>

<script type="text/javascript">
function SelectAll(id)
{
    document.getElementById(id).focus();
    document.getElementById(id).select();
}
</script>

save it


Step 2

For video share go to:

/public_html/templates/Your-template/video_view.tpl.php

and FIND <textarea name="embed" id="embed"

after id="embed" ADD onClick="SelectAll('embed');"

and thats it.

You can use same way for photo or anythink you want to have SelectAll option just add : onClick="SelectAll('embed');" After id and replace ('embed') with the corect ID

Last edited by thiva7 (2013-03-12 14:51:55)

Offline

Board footer

Powered by FluxBB