Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 1, 2007 19:32:39 GMT -5
Hey there, I currently run a poetry site, and a few members have asked for virtual magnetic poetry(you know, like that one on your fridge ) Im looking for a code that will give me two boxes where I can drag words from the first to the second. The top box would need to be roughly 300pixels high by 700 wide while the second would be a little smaller. Below, is a rough diagram of what it would look like: img.photobucket.com/albums/v81/leash_poznikoff/magnetic.jpgTurned to a link. Stretching boards, even though someone supposedly "fixed" that problem. - CrazyThank you for any help, Leash. P.S. If possible, a "refresh" or "empty" button for the bottom box would be awesome.
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 2, 2007 7:10:37 GMT -5
Would the data need to be stored after the user has left the page?
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 2, 2007 12:12:24 GMT -5
nope.
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 2, 2007 12:48:13 GMT -5
I'll get started on this as soon as possible
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 4, 2007 21:41:26 GMT -5
Any luck so far? My members are harrassing me hehe.
|
|
Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Jan 4, 2007 21:44:49 GMT -5
I'm sorry, but Simie is away until Sunday so all requests have to be put on hold. I'm sure he'll get to it as soon as he gets back Also, I find a bit of suspense tends to help a forum on member dedication
|
|
Edwards
Aka: Brian Silver
Posts: 3,037
|
Post by Edwards on Jan 5, 2007 17:29:20 GMT -5
*looks at v3.5 and v4 related posts* we've noticed ;D
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 9, 2007 13:32:30 GMT -5
Its been over a week.. Any progress?
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 9, 2007 15:11:51 GMT -5
sorry about this, I've been very busy, with v3.5, v4 and my website to run ;D (Not to mention I had to go on holiday >_>). I will get to this tomorrow, sorry for the wait
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 13, 2007 16:54:58 GMT -5
When should I tell my members that this will be ready?
|
|
Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Jan 13, 2007 17:20:03 GMT -5
In the future I'm terribly sorry for your wait, but Simie runs this section on his own(Because of my lack of ... oh screw it, I suck at coding ). He has a lot of responsibilities right now but I am sure he will get to this soon. Thank you for your patience
|
|
~CrAzY~™
Community Admin
The Karate Kid
What?.. Nosy Jerk..
Posts: 3,129
|
Post by ~CrAzY~™ on Jan 13, 2007 17:32:50 GMT -5
In the future I'm terribly sorry for your wait, but Simie runs this section on his own(Because of my lack of ... oh screw it, I suck at coding ). He has a lot of responsibilities right now but I am sure he will get to this soon. Thank you for your patience Well, I try to help out with updating stuff as much as I can here, to make his job easier. (And to keep him working on a certain "project" as much as possible... ;D)
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 13, 2007 17:45:17 GMT -5
almost done with this, I had to do something on the project in the past few days. Only one bug to squish, then its done [=
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 13, 2007 23:19:42 GMT -5
Woo hoo! Im soooo excited.
|
|
Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Jan 13, 2007 23:39:33 GMT -5
So am I
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 15, 2007 11:58:29 GMT -5
<script src="http://pb.proscripts.co.uk/dragdrop.js" type="text/javascript"></script> <center><table width="92%" height="600" cellspacing="0" cellpadding="4" id="tehTable" style='border-color: 0;' border="1"> <tr><td border="1">Mangetic Fridge!</td></tr> <tr><td id="board1" width="100%" height="50%" border="1"> </td></tr> <tr><td border="1">Drag words to below:</td></tr> <tr><td width="100%" height="50%" border="1"> </td></tr> </table></center> <script type="text/javascript"> /* Magnetic Fridge code */ var sTABLE = document.getElementsByTagName('table'); for(i=4;i<sTABLE.length;i++){ if(sTABLE[i].id != 'tehTable' && sTABLE[i].id != 'tehTable2' ) sTABLE[i].style.display = 'none'; }
var i = 0; function addWord(word){ var span = document.createElement('span'); span.setAttribute('ondrag', 'return rfalse()'); span.id = 'no'+i; i++; span.appendChild(document.createTextNode(word+' ')); document.getElementById('board1').appendChild(span); drag.addElement(span.id); } addWord("Word 1"); </script>
BOARD FOOTER
To add more words, just repeat this line: addWord('WORD HERE');
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 15, 2007 12:03:07 GMT -5
Dude, thank you so much! Ill put it up right now and let you know how its working when I get off work tonight
|
|
~CrAzY~™
Community Admin
The Karate Kid
What?.. Nosy Jerk..
Posts: 3,129
|
Post by ~CrAzY~™ on Jan 15, 2007 19:00:00 GMT -5
Simie - Post this in the code submission board and add/or it to the database now...
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 16, 2007 14:08:15 GMT -5
No
|
|
~CrAzY~™
Community Admin
The Karate Kid
What?.. Nosy Jerk..
Posts: 3,129
|
Post by ~CrAzY~™ on Jan 16, 2007 20:03:47 GMT -5
Aww cmon... Why not lol..
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 16, 2007 21:52:33 GMT -5
Any chance I can get this code to work with the board I place it in? Noticed that you cant post in that particular board now.
I was also wondering if theres a way to put spaces or new lines in the top box of words?
BTW, this is the coolest code ever. Thank you so much for helping me customize my site. My members appreicate it very much. /hugs
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 18, 2007 16:32:22 GMT -5
To put spaces simple put as the word.
|
|
Leash
.:Dark Star:.
Posts: 40
|
Post by Leash on Jan 19, 2007 3:01:09 GMT -5
thanks a ton!
|
|
Simie
Coding Admin
Why are you all still here?
Posts: 721
|
Post by Simie on Jan 19, 2007 16:41:37 GMT -5
No problem
|
|
|
Post by boo on Oct 1, 2007 4:29:42 GMT -5
Would I be allowed to use this code on my forum? Also, do you know if it's possible to have images instead of/as well as words? Because that would be cool...
|
|