User Profile
Collapse
-
Thanks, indeed that seemed to be the issue. Thanks! -
One of the Issues turned out to be Wordpress autoformat, I used a plugin called "PS Disable Auto Formatting" and then the autoformat no longer placed <p> and <br /> senseless into the javascript part and it no longer destroyed the spans.
The issue with the function
Code:<select id="itemcat" onchange='itemcat()'>
Leave a comment:
-
The script works now, in a way ... however it does not add or remove the fields when the main selection drop down menu is being changed, I added the same command to another trigger and it works there without an issue.
Code:<script type='text/javascript'> function getskcode() { var skcommand = "player.additem " + document.getElementById(document.getElementById('itemcat').value).value + " " + document.getElementById('amount').value
Leave a comment:
-
Code:<h2 style="margin-top:180px;">Create Item Links</h2> <script type="text/javascript"> function getskcode() { var skcommand = "\"player.additem " + document.getElementById(document.getElementById('itemtype').value).value + " " + document.getElementById('amount').value + "\" or: \"player.placeatme " + document.getElementById(document.getElementById('itemtype').value).value
Leave a comment:
-
Javascript form dropdown to display different selections
Hello,
For a fansite I am trying to implement an easy way to find id's for items.
Basically I want the dropdownfields, here named itemsid,axesid to appear depending on the selection on the itemtype dropdown. Initially itemsid, axeside should be hidden.
Code:<form name="frmSelect"> <select id="itemtype"> <option value="itemsid">Items</option>
-
Thanks a lot, I went for solution 2 and it worked!
Code:<select id="location" name="location" [B]onchange='get_skcommand();'[/B]>
Code:document.getElementById("display").innerHTML = "something to display";
You will be able to see the script in action here:
http://skyrim.mmo-game.eu/skyrim-ite...Leave a comment:
-
Output Form Dropdown to HTML Page
Hello,
For a roleplaying fansite I am trying to give visitors a convenient way to make people add items to their game. They need to enter hexcodes for items and I'd like to help with the task.
What i have now is a list that is basically like this:
Code:<h2>Create Item Links</h2> <form name="frmSelect"> <select id="Location" name="Location">
No activity results to display
Show More
Leave a comment: