Jump to content

Webworldx

Members
  • Posts

    347
  • Joined

  • Last visited

Posts posted by Webworldx

  1. You can still save the fields somewhere in one of the profile fields without showing the normal boxes. Just do something like:if(location.href.match(/act=UserCP&CODE=01&showgender/i){}Hide the existing form and show your own. On click of your "submit" button, add the information back into the location field, and away you go.You'll need a bit extra, to load the info back in when they visit the &showgender link, and also on the usual CODE=01 page to remove the extra bits from the Location field (and put it back in when they submit), but that's about it really.

  2. Hi there. Save the data in another one of the fields and when the page loads, read the data from that field, append the drop down box to the page and use the selectedIndex to specify which one you've selected.So say, your "location" box will have something like:United Kingdom//Gender=2and you'll split it at "//Gender=", see what's after, and use that as your selectedIndex.=)

  3. I'm guessing you're using Visual Basic or equivalent to write the software? Why not just write the date of install into an .ini file and check that every time the exe loads? If it's after the 30 day period, redirect them somewhere else.Obviously that's a simple idea - you'd want to maybe encrypt the date so it's not easy to find and tamper with

  4. Yes, it's possible in Javascript - just look at any script "generator" on the internet and it'll probably use js, and emulate what you're wanting.You just need to have some kind of submit button at the end, and when you click it, it adds the values in:document.getElementById('FINAL_TEXT').value = document.getElementById('BOX_1').value + document.getElementById('BOX_2').value ...... etc

  5. Hmm, or, you could have separate forms per option. Not sure how that would come out looking, but:

    <form><select><option>1</option></select></form><form><select><option>2</option></select></form><form><select><option>3</option></select></form>

    with each form going somewhere else..

  6. <script type='text/javascript'>var the_hour = new Date().getHours();if(the_hour <= 12){	document.title = 'Good Morning';} else {	document.title = 'Good Afternoon / Evening';}</script>

  7. Not with Javascript unless you want to start iframing things and doing some complex math to shrink the pictures, text, table size etc that you've written.I'm not too hot on PHP, but maybe the GD libraries have a feature like this? If it can screenshot server side, then shrink and save, you might have what you want.

  8. Why not copy it into box 1 then fire an onChange() that splits the string into the second box?I showed a proof of concept of this months ago when someone asked for an emulation of the "licence key" boxes in software installations where you can paste in your key over multiple boxes.

  9. I'm actually lost on what the questions are in this post, but somewhere in there I think you ask what "window.undefined = window.undefined" does. It's basically for older browsers, they don't have "undefined" in the global context, so you're just adding it in.The rest of the questions seem to be asking the same sort of things. If you're looking at something like:return a == bit'll return true if a is equal to b, or false if it's not.

×
×
  • Create New...