The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

I search the code of "dowload button"

+2
Ape
amghidh
6 posters

Go down

In progress I search the code of "dowload button"

Post by amghidh June 23rd 2019, 8:25 pm

Hi,
I've already used this code, but now I can't find it in the three support forums
I'm searching how to add to Text editor a button which permet to add download button to the topic
It means I just write the download link on editor, then a button will appear
(I think it's a JS code)


Please to help me finding this code,

King regards,
amghidh
amghidh
Forumember

Posts : 55
Reputation : 10
Language : EN FR AR TM
Location : Algeria

http://odros.yoo7.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by Ape June 23rd 2019, 9:45 pm

I have a button on the editor that i press and it gives me a drop down like the image download button.
It gives you the url of the image then gives you a place to add your link I search the code of "dowload button" Cap212
I have not seen any other post with it


I search the code of "dowload button" Left1212I search the code of "dowload button" Center11I search the code of "dowload button" Right112
I search the code of "dowload button" Ape_b110
I search the code of "dowload button" Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19363
Reputation : 2006
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by skouliki June 23rd 2019, 9:54 pm

Hello

Download what you mean? Files? Images? Videos?
skouliki
skouliki
Manager
Manager

Female Posts : 15352
Reputation : 1705
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by SLGray June 23rd 2019, 10:24 pm

If you mean a download link with an image, you can use what APE posted.


I search the code of "dowload button" Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51521
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by amghidh June 24th 2019, 9:13 am

Hi,
I mean like this, a button in text editor
I search the code of "dowload button" Untitl12

but when I click insert it will write this in the post:
Code:
<a href="LINK I INSERED IN TOPIC"><img src="link of download button that I insered in the JS code"/></a>


Thank you
amghidh
amghidh
Forumember

Posts : 55
Reputation : 10
Language : EN FR AR TM
Location : Algeria

http://odros.yoo7.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by SLGray June 24th 2019, 9:47 am

So you have the code, but do not know how to add it to the editor?


I search the code of "dowload button" Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51521
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by amghidh June 24th 2019, 10:10 am

Nope, 

I have just the idea

when i insert the link it will write like this on the editor
[download]https;//link.com/link[/download]

but when opening the topic, using the JS code
[download] will be replaced by 
Code:
<a href="
then the link will be placed
then [/download] will be replaced by
Code:
"><img src="link of pic"/></a>

or

"><div class="down">Download here</div></a>
so at the end we will have the full button


Thank you
amghidh
amghidh
Forumember

Posts : 55
Reputation : 10
Language : EN FR AR TM
Location : Algeria

http://odros.yoo7.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by SLGray June 24th 2019, 7:16 pm

APE wrote:I have a button on the editor that i press and it gives me a drop down like the image download button.
It gives you the url of the image then gives you a place to add your link I search the code of "dowload button" Cap212
I have not seen any other post with it
I believe this will achieve what you want.


I search the code of "dowload button" Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51521
Reputation : 3523
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by amghidh June 25th 2019, 7:25 pm

SLGray wrote:
APE wrote:I have a button on the editor that i press and it gives me a drop down like the image download button.
It gives you the url of the image then gives you a place to add your link I search the code of "dowload button" Cap212
I have not seen any other post with it
I believe this will achieve what you want.
No
I say that I've already find this code one time (a year ago) in this support forum,

but now i can't find it so I'm searching help to find it
amghidh
amghidh
Forumember

Posts : 55
Reputation : 10
Language : EN FR AR TM
Location : Algeria

http://odros.yoo7.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by skouliki June 25th 2019, 7:44 pm

here you find it?
skouliki
skouliki
Manager
Manager

Female Posts : 15352
Reputation : 1705
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by Storyteller of Wonderland June 26th 2019, 1:47 am

amghidh wrote:Hi,
I've already used this code, but now I can't find it in the three support forums
I'm searching how to add to Text editor a button which permet to add download button to the topic
It means I just write the download link on editor, then a button will appear
(I think it's a JS code)


Please to help me finding this code,

King regards,


Want to place a div tag inside a link? Do you think this is correct?

I'll give you the script that I wrote right now, and I hope that it will help you ...

But @APE wrote correctly. That you want.

Okay. Here is a gift.

Using the script, you can change the tag to the one you need, but the script must find the target, and this target will have the identifier you specify.

Code:

function changeTagName(el, newTagName) {
    var n = document.createElement(newTagName);
    var attr = el.attributes;
    for (var i = 0, len = attr.length; i < len; ++i) {
        n.setAttribute(attr[i].name, attr[i].value);
    }
    n.innerHTML = el.innerHTML;
    el.parentNode.replaceChild(n, el);
}

changeTagName(document.getElementById('YOUR__ID'), 'TAG');


YOUR__ID - put your item id to change.
TAG - put the right tag... div or a or span or... button


example////

before:

Code:
<button id="okey"></button>

after:

Code:
<div id="okey"></div>
Storyteller of Wonderland
Storyteller of Wonderland
Forumember

Female Posts : 108
Reputation : 10
Language : Russian, German, French, English.
Location : Russia

http://milanwake.forum2x2.ru

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by skouliki July 6th 2019, 7:50 pm

hello

is this solved?
skouliki
skouliki
Manager
Manager

Female Posts : 15352
Reputation : 1705
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

In progress Re: I search the code of "dowload button"

Post by SarkZKalie July 20th 2019, 3:33 am

In case you are still looking for another solution, you may try mine.

This one will automatically convert a link start by drive.google.com into a styled button without installing any JS or jQuery. You can freely align its link by any position : left, center, right
Code:
[left]https://drive.google.com/open?id=ABC[/left]
[center]https://drive.google.com/open?id=ABC[/center]
[right]https://drive.google.com/open?id=ABC[/right]
It's up to you Smile


I search the code of "dowload button" Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1443
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum