Hyperlinks, events, scripts
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Hyperlinks, events, scripts
Hi,
I am new to Wysiwyg website builder and for that matter website building.
I want to make a management website that acts as a menu for me internally.
The idea was to make a visualized menu over the infrastructure location of racks, switches, Servers and so on.
The menu is designed like the racks with icons of the content.
my challenge is now how to link the icons to:
webpages like ILO2 & ILO4 for HP - only to be started in fx. the old Internet explorer - like https://10.10.10.10
external exe: putty.exe -ssh admin@10.10.10.10
external exe: Powershell.exe
I have spent hours trying, searching the forum, google and so on - it just seems to me that it is not just that easy with Wysiwyg Website Builder.
Can anyone help with a "How To" ??
Thanks in advance
Regards
TT
I am new to Wysiwyg website builder and for that matter website building.
I want to make a management website that acts as a menu for me internally.
The idea was to make a visualized menu over the infrastructure location of racks, switches, Servers and so on.
The menu is designed like the racks with icons of the content.
my challenge is now how to link the icons to:
webpages like ILO2 & ILO4 for HP - only to be started in fx. the old Internet explorer - like https://10.10.10.10
external exe: putty.exe -ssh admin@10.10.10.10
external exe: Powershell.exe
I have spent hours trying, searching the forum, google and so on - it just seems to me that it is not just that easy with Wysiwyg Website Builder.
Can anyone help with a "How To" ??
Thanks in advance
Regards
TT
Re: Hyperlinks, events, scripts
In HTML, it is not possible to trigger an external application.
It is not a limitation of WWB, but browser do not allow this for security reasons.
It is not a limitation of WWB, but browser do not allow this for security reasons.
Re: Hyperlinks, events, scripts
But Javasript & wbscript can
Can WWB trigger external scripts from "Event" ?
Can WWB trigger external scripts from "Event" ?
Re: Hyperlinks, events, scripts
Yes, you can run JavaScript: Set the event action to 'run JavaScript'
Re: Hyperlinks, events, scripts
Yes I got that far, but then what ?
Where to put the javascripts ? - OS folder? / object in project ? or? and how to link to them ?
I am quite new to making websites - so please bear with me
Where to put the javascripts ? - OS folder? / object in project ? or? and how to link to them ?
I am quite new to making websites - so please bear with me
Re: Hyperlinks, events, scripts
You asked:
The exact code depends on what you are trying to do. There is no generic answer for that.
However you cannot run executables. This is not allowed by browsers.
The answer is yes you can run JavaScript via events.Can WWB trigger external scripts from "Event" ?
The exact code depends on what you are trying to do. There is no generic answer for that.
However you cannot run executables. This is not allowed by browsers.
Re: Hyperlinks, events, scripts
Where to put the javascripts ? - OS folder? / object in project ? or? and how to link to them ?
Re: Hyperlinks, events, scripts
Note that using JavaScript requires some programming knowledge, this is not something I can teach you.
All scripts are different so there is no generic way to describe for how to use all scripts.
But this may be helpful:
https://www.wysiwygwebbuilder.com/add_html.html
If you need further assistance then please describe what kind of code and files you have.
All scripts are different so there is no generic way to describe for how to use all scripts.
But this may be helpful:
https://www.wysiwygwebbuilder.com/add_html.html
If you need further assistance then please describe what kind of code and files you have.
- BaconFries
-
- Posts: 5640
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Hyperlinks, events, scripts
As already mentioned you can use the following https://www.wysiwebbuilder.com/add_html.html You can also insert the code in Page HTML and for external files you can use the File Publisher Object. You should also note that generally there is no help/assistance with using code or external scripts as it is understood if you wish to use you yourself understand how to use and how and where to insert correctly for it to work.
Re: Hyperlinks, events, scripts
FWIW:
In the Event window > Javascript: you could enter e.g. nameofjavascript function();
Then in the Page HTML > Before </body> e.g. you could have:
<script type="text/javascript">
function nameofjavascript()
{
your javascript code
}
</script>
-
-
- Posts: 1439
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Hyperlinks, events, scripts
I hope you can bear some learning from w3schools. https://www.w3schools.com/js/default.asp
this will give you basic knowledge on how things function and work even with events.
Re: Hyperlinks, events, scripts
I got the impression that the OP already knows Javascript.wwonderfull wrote: ↑Fri Jun 24, 2022 2:56 pmI hope you can bear some learning from w3schools. https://www.w3schools.com/js/default.asp
this will give you basic knowledge on how things function and work even with events.
-
-
- Posts: 1439
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Hyperlinks, events, scripts
True @wwbman, but as @pablo said All scripts are different so there is no generic way to describe for how to use all scripts.I got the impression that the OP already knows Javascript.
I my self some times find my self in similar circumstances when embedding scripts
Re: Hyperlinks, events, scripts
Thanks for taking your time to answer - although I think you read my post as a hardcore programmer and not as a user.
My challenge is not the scripts, but the understanding on how to use them with WWB.
I've put a simple javascript in a subfolder in where my final HTML file will be - the script executes notepad.exe
in object properties --> event --> onclick - action: Javascript - then what - nowhere to link to external javasript files only just a few pre-defined commands. I can although type in something, but what is the format here? - (i am new to this)
In File publisher I can add files an folders to the project, but how to link to those from objects ??
Please someone !!
Thanks in advance
/TT
My challenge is not the scripts, but the understanding on how to use them with WWB.
I've put a simple javascript in a subfolder in where my final HTML file will be - the script executes notepad.exe
in object properties --> event --> onclick - action: Javascript - then what - nowhere to link to external javasript files only just a few pre-defined commands. I can although type in something, but what is the format here? - (i am new to this)
In File publisher I can add files an folders to the project, but how to link to those from objects ??
Please someone !!
Thanks in advance
/TT
Re: Hyperlinks, events, scripts
Enter the name of the JavaScript function in the input field. The choices in the drop down menu are just suggestions....in object properties --> event --> onclick - action: Javascript - then what
Also, if you are using an external file for the script then you also need to add a include link to the script. But of course this is not specific to the software.
Your script links the file to the object, this is not difference than in any other web designs tools.In File publisher I can add files an folders to the project, but how to link to those from objects ??
In my opinion, you are over thinking this.
WYSIWYG Web Builder is design tool that generates standard HTML code, so all code that works elsewhere will also work in WWB.
Re: Hyperlinks, events, scripts
Thanks Pablo,
I know that WWB is just another website HTML building tool - but it has a nice level of userfriendly access to new "users"
I was looking for some help - directing me the way to input formats - like how to type in the right format for calling external java scripts or how to access the javascripts defined in "File publisher"
As I said - i am new to HTML and website building. Some time in life - we have all been newbies, and we need someone to tell us how to tie the ends....
I know that WWB is just another website HTML building tool - but it has a nice level of userfriendly access to new "users"
I was looking for some help - directing me the way to input formats - like how to type in the right format for calling external java scripts or how to access the javascripts defined in "File publisher"
As I said - i am new to HTML and website building. Some time in life - we have all been newbies, and we need someone to tell us how to tie the ends....
Re: Hyperlinks, events, scripts
it is impossible to help you if we do not know what code you are trying to add.
Every script work different, so there are no generic instructions, other than the ones I already gave you.
But please understand that we cannot teach you how to program. You will need some basic programming knowledge to add code to the page.
Every script work different, so there are no generic instructions, other than the ones I already gave you.
But please understand that we cannot teach you how to program. You will need some basic programming knowledge to add code to the page.