User Profile

Collapse

Profile Sidebar

Collapse
Myrddin
Myrddin
Last Activity: Nov 21 '11, 08:59 PM
Joined: Nov 17 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks, indeed that seemed to be the issue. Thanks!
    See more | Go to post

    Leave a comment:


  • 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()'>
    Which is not working for some reason. I'd like some input with that....
    See more | Go to post

    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
    ...
    See more | Go to post

    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
    ...
    See more | Go to post

    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>
    ...
    See more | Go to post

  • Myrddin
    replied to Output Form Dropdown to HTML Page
    Thanks a lot, I went for solution 2 and it worked!

    Code:
    <select id="location" name="location" [B]onchange='get_skcommand();'[/B]>
    and by adding

    Code:
    document.getElementById("display").innerHTML = "something to display";
    to the script above.

    You will be able to see the script in action here:

    http://skyrim.mmo-game.eu/skyrim-ite...
    See more | Go to post

    Leave a comment:


  • Myrddin
    started a topic Output Form Dropdown to HTML Page

    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">
    ...
    See more | Go to post
No activity results to display
Show More
Working...