HTML - Moving Container Boxes With The Mouse
Hello,
I have a website with registered users and i want to create a work space for each user where they have the option of moving about 10 to 15 container boxes freely into that workspace and save their positions so when the users login again they stay in the same order. The boxes will contain some graphics, static text, js and a form. How would i go about this ? Thanks you! Similar TutorialsHi, I'm new to this forum. I am a design, not a coder by any means. But I was wondering if anyone knew how to do this. http://www.knoed.com/index.php The gray div box and the main nav at the top of the page stay aligned with the right side of the page even when you resize the window. But when the box or nav reach an area like the logo when resizing, it stops and the window covers over the box. Try it and you will see what I mean. Does anyone know how to achieve this? Right now I have my boxes attached to the right side but they just go underneath my elements when they resize the window. Thank you. on this site, when you put your mouse on an image, it enlarges, that seems better than have people click and it goes to another window. How is that done, I look a little for a java script to help, but I didn't find the mouse over one link below shows what I mean TIA http://www.redcrossstore.org/Shopper...8&LocationId=0 http://pavel.free-site-host.com/ I have a couple of problems with this layout. First of all I have set up a script for mouse over sound over the nav, but when i mouse over nothing happens. Next I have set up another script that has random images but for some reason it has made the layout unaligned. Last, towards the bottom it has a blank spot for a search (for the web-site) could somebody explain how to create a search for the content inside the site. Thank you in advance Hello, I have a quicktime that I turn into a flash file then into an swf for our website. It plays out beautifully except I have two problems, I need it to link to another page when clicked and I need the mouse to change to the hand icon when hovering over it. I as able to figure out the link part for most browsers except Internet Explorer. Any advice on how to get the icon to change for an swf file and hopefully think link for internet explorer. thanks for your time kevin can any1 please tell me if they know of any mouse over codes i googled for a few and i tried like 5 of them so far with no luck i can publish a page and list the codes attempted if nessisary but i thought id see if any1 knew 1 that works for them 1st... its for a banner im making to flash to a different picture on mouse over I have the following code for a sign up form. I want the button to change when the mouse hovers over. Can someone help me? The button that I want it to change to is: sign_up_mouseover.png <ul class="site-nav2"> <p> </p> <FORM ACTION="https://app.expressemailmarketing.com/Survey.aspx?SFID=75036" METHOD="POST"> <div align="center"> <span class="style20"><FONT FACE="arial, helvetica">Sign up for our Mailing List </FONT></span> <BR> <input type="TEXT" name="email" /> <BR> <INPUT TYPE="IMAGE" SRC="images/sign_up.png" ALIGN="ABSMIDDLE" BORDER="0" /> <INPUT TYPE="HIDDEN" NAME="SkipSurvey" VALUE="FALSE" /> </div> </FORM> </ul> Attached is what the form looks like now. You can see it at www.bigdogcattle.com Thanks Jamie Hello Can any please explain me how to create a mouse over description within a table . I have created a table using <div> and I want a small box to be opened when mouse moves over each row and column a describe about the row. I have seen some examples regarding mouse over , but they haven't helped me . Can anyone please help me. I want to put a link on my page, and when the viewer puts the mouse over, I want there to be a choice of two links to choose from and click. What's the best way to do this and is there any disadvantage to the method? Hi, this is my first post and I'm pretty new at HTML. Ok, I have been making a script and it works fine, but there's a problem. Most websites I visit (including this one) when you make the window smaller, the stuff you covered up simply goes off screen, but in my script, when you cover it up most stuff shifts down a line and is still visible. This look very messy having things constantly shifting around! : I was wondering if there was some tag or something that causes everything to freeze in place no matter how small the window gets. -Thanks Hi, I have made a navigation bar that sits nicely to the left of my page. However, i cant seem to get it to stay in that position. I have to put other content above it or below it even if it wont actually clash with the bar. Any ideas on how to fix this? Thanks in advance, Sam. Update; I needed to float it. All done How would i go about making the onchange property of a <select> drop down menu change the position of a scroll bar of a <div> below it? Hi there i'm new to html forum and have come here for a little bit of help on some code. my website is http://www.mp3encore.co.uk my problem is on the homepage, basically i want the radio search buttons above the search bar so visiters click radio button first then type in what they want. here is my code... <div class="wrapcontent clearfix"> <div id="content" class="fleft"> <div class="wrappost"> <style type="text/css"> #content #post { background: url('<?=WEB_PATH?>images/wes.png') no-repeat; } </style> <script type="text/javascript"> function change_song1() { document.search_form.search_input.value= "Search For Lyrics"; document.search_form.type.value= "lyrics"; document.getElementById('song').style.display = "none"; document.getElementById('video').style.display = "none"; document.getElementById('kr').style.display = "none"; document.getElementById('lyrics').style.display = "inline"; } function change_song0() { document.search_form.search_input.value= "Search For Videos"; document.search_form.type.value= "video"; document.getElementById('song').style.display = "none"; document.getElementById('video').style.display = "inline"; document.getElementById('kr').style.display = "none"; document.getElementById('lyrics').style.display = "none"; } function change_song2() { document.search_form.search_input.value= "Search For Songs"; document.search_form.type.value= "mp3"; document.getElementById('song').style.display = "inline"; document.getElementById('video').style.display = "none"; document.getElementById('lyrics').style.display = "none"; document.getElementById('kr').style.display = "none"; } function change_song3() { document.search_form.search_input.value= "Search For Karaoke"; document.search_form.type.value= "karaoke"; document.getElementById('song').style.display = "none"; document.getElementById('video').style.display = "none"; document.getElementById('lyrics').style.display = "none"; document.getElementById('kr').style.display = "inline"; } </script> <div id="post" class="post"> <div class="entry" style="margin-top: 6px;"> <div class="clearfix wrapentry"> <div class="fleft"> </div> <div class="info fright clearfix" style="margin-right: 25px;"> </div> <div class="Contentbox" align="center"> <div id="song" style="display: none;">You are in Song search mode</div> <div id="video" style="display: none;">You are in Video search mode</div> <div id="lyrics" style="display: none;">You are in Lyrics search mode</div> <div id="kr" style="display: none;">You are in Karaoke search mode</div> <div id="ajaxcontentarea" class="contentstyle" style="margin:0" > <form name="search_form" id="search_form" method="post" action="<?=WEB_PATH?>"> <input tabindex="" value="Search For Songs" name="search" id="search_input" onfocus="if(this.value=='Search For Songs'||this.value=='Search For Videos'||this.value=='Search For Lyrics'||this.value=='Search For Karaoke') this.value='';" type="text" /> <input type="hidden" name="type" value="mp3"/> </form> </div> <ul id="maintab" class="shadetabs"> <li><a href="#" onclick="javascript:document.search_form.submit();return false;">Search</a></li> </ul> </div> <div style="color: #ffffff;font-weight: bold;margin-left: 45px;margin-top: -25px;"><input type="radio" class="radio" value="video" name="type" onclick="change_song0();"/> Videos</div> <div style="color: #ffffff;font-weight: bold;margin-left: 145px; margin-top: -18px;"> <input type="radio" class="radio" value="mp3" name="type" onclick="change_song2();"/> Songs </div> <div style="color: #ffffff;font-weight: bold;margin-left: 235px; margin-top: -18px;"> <input type="radio" class="radio" value="lyrics" name="type" onclick="change_song1();"/> Lyrics </div> <div style="color: #ffffff;font-weight: bold;margin-left: 315px; margin-top: -18px;"> <input type="radio" class="radio" value="lyrics" name="type" onclick="change_song3();"/> Karaoke </div> </div> </div> </div> </div> hope someone can help, thanks in advance. Hello all, I'm learning so much studying on a daily basis with html, that I have been making considerable progress, however, if you all could help me "lock" this div layer that I have off to the right of the page from moving that would be grand. You see all I really want on the site is to have content in the middle move as I update and add to it. However when I subtract content or add more content in the middle div box. the right side box will move up or down depending on whether I have added or subtracted content. If you visit http://www.trillionaireme.com that is how I want the site to show on all pages when a link is clicked, however when you click on the "How to Get Started" link http://www.trillionaireme.com/howtogetstarted.html, because I have less content in the middle the right div box moves up. I would like it locked and positioned just as it is displayed on the main page http://www.trillionaireme.com This is the main page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <title>TrillionaireMe</title> <link rel="shortcut icon" href="images/trillionaireme.ico"> <head><link rel="stylesheet" type="text/css" href="trillionaireme.css" /></head> <body> <h1> </h1> <div class="logo"><a href="http://www.trillionaireme.com"><img class="displayed" src="http://www.trillionaireme.com/images/trillionaireme.jpg" width="196" height="233" border="0" /></a></div> <h1> </h1><p class="borderbottom"> </p> <div class="page"> <h2> <a href="http://www.trillionaireme.com/nutrition.html">Nutrition</a> <a href="http://www.trillionaireme.com/fitness.html">Fitness</a> <a href="http://www.trillionaireme.com/money.html">Money</a> <a href="http://www.trillionaireme.com/relationships.html">Relationships</a> <a href="http://www.trillionaireme.com/parenting.html">Parenting</a> <a href="http://www.trillionaireme.com/music.html">Music</a> <a href="http://www.trillionaireme.com/literature.html">Literature</a> <a href="http://www.trillionaireme.com/you.html">You</a> <a href="http://www.trillionaireme.com/them.html">Them</a> <a href="http://www.trillionaireme.com/vision.html">Vision</a> </h2> <div class="firstindex"><br /><a class="nutrition" href="http://www.trillionaireme.com/"><span class="clickednav">Welcome</span></a><br /><a class="nutrition" href="http://www.trillionaireme.com/howtogetstarted.html">How To Get Started</a></div> <div class="secondindex"><a class="nutrition" href="http://www.trillionaireme.com/joinourmailinglist.html">Join Our Mailing List</a><br /></div> <div class="sitelastupdated">This site was last updated on: Tuesday, May 24, 2011 @ 12:47 PM</div> <div class="welcomemessage">"What are you doing right now? Besides reading this, are you doing something that's getting you closer to living the life? The real life. I'm not talking about a better job. A couple more days off. A nice raise. I'm talking about the life you see in your dreams. The one you wish for when no one is around. The one you cry yourself sometimes in hopes of a change. The one that makes you say please, and drops you to your knees to just change when you open your eyes. That's the life I'm asking you, are you living? Are you? Dishonesty will only rob you of your time. Time is so precious, and valuable. Always ticking. Always taking. We have no choice, but to make what we can of this racing clock we are living with. If you're not doing something, you're going back tomorrow to whatever it is you know deep down inside was not the way you wanted it to go. This is why this place exists. Finally a place that has the most important areas of our lives broken down, sectioned off, mapped out strictly and purposefully for our advantage. These are the most valuable and precious areas we mustn't forget to keep balanced, along with the people, places, and things in it. Life is not set it and forget it, life is ongoing, changing, and updating. We must lay down the foundation for all generations to come. Here is the foundation, the perfect life compilation. Now get to it, because the clock is ticking, or else, you're going back to the same place tomorrow."<p class="signature">Samuel Sweis (Creator & Founder)</p> <div class="rightbar"><br /></div> </div> </body> </html> This is the link that has less middle content so the box moves up: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <title>TrillionaireMe</title> <link rel="shortcut icon" href="images/trillionaireme.ico"> <head><link rel="stylesheet" type="text/css" href="trillionaireme.css" /></head> <body> <h1> </h1> <div class="logo"><a href="http://www.trillionaireme.com"><img class="displayed" src="http://www.trillionaireme.com/images/trillionaireme.jpg" width="196" height="233" border="0" /></a></div> <h1> </h1><p class="borderbottom"> </p> <div class="page"> <h2> <a href="http://www.trillionaireme.com/nutrition.html">Nutrition</a> <a href="http://www.trillionaireme.com/fitness.html">Fitness</a> <a href="http://www.trillionaireme.com/money.html">Money</a> <a href="http://www.trillionaireme.com/relationships.html">Relationships</a> <a href="http://www.trillionaireme.com/parenting.html">Parenting</a> <a href="http://www.trillionaireme.com/music.html">Music</a> <a href="http://www.trillionaireme.com/literature.html">Literature</a> <a href="http://www.trillionaireme.com/you.html">You</a> <a href="http://www.trillionaireme.com/them.html">Them</a> <a href="http://www.trillionaireme.com/vision.html">Vision</a> </h2> <div class="firstindex"><br /><a class="nutrition" href="http://www.trillionaireme.com/">Welcome</a><br /><a class="nutrition" href="http://www.trillionaireme.com/howtogetstarted.html"><span class="clickednav">How To Get Started</span></a></div> <div class="secondindex"><a class="nutrition" href="http://www.trillionaireme.com/joinourmailinglist.html">Join Our Mailing List</a><br /></div> <div class="sitelastupdated">How to Get Started Using this Site</div> <div class="welcomemessage">TrillionaireMe was designed with you in mind first and foremost. You will find 10 areas of life that play the most important role almost on a daily basis listed above just under the logo starting with "Nutrition" and ending with "Vision". <div class="rightbar"><br /></div> </div> </body> </html> In html left to right <marquie behaviour but i want right to left the text comes from right to left and left standard positin whch command do i need to use? please provide thanks for helping How to change this code so that the image moves up and down not side to side on mouse click. Code: <html> <head> <script type="text/javascript"> cc=0; function changeimage() { if (cc==0) { cc=1; document.getElementById('image').style.position="absolute"; document.getElementById('image').style.left="0"; } else { cc=0; document.getElementById('image').style.position="relative"; } } </script> </head> <body> <img id="image" onclick="changeimage()" border="0" src="slide2.JPG"/> </body> </html> How can I move this table to the right a lttle bit? Thanks. Code: <TABLE cellSpacing=0 valign=top cellPadding=0 width=100% border=0> <TR valign=middle height=10> <TD class=headera1><IMG src="/images/clear.gif" height=1 width=159 border=0></TD> <TD width="100%" align=right class=headera2> </TD> </TR> <TR> <TD class=headera3><IMG src="/images/clear.gif" height=1 width=159 border=0></TD> <TD width="100%" align=right class=headera4> </TD> </tr> <TR valign=top> <TD></TD> <TD valign=left width=795 height=1><IMG src="/images/topimg11.jpg"> <IMG src="/images/topimg2.jpg"></font></TD> </TR> <TR valign=top height=1> <TD colspan=2 class=black><IMG src="/images/clear.gif" height=1 width=100% border=0></TD> </TR> </TABLE> Can someone help me on figuring out how to move the table on my homepage here. I'd like to move the text content that is on the right side, spread across the page and move the form that is on the right side below the content text. Along with this I'd like to leave a column along the right side of the page that is about 1/3 the width of the page, maybe smaller? Would anyone be willing to help me accomplish this? I'm not sure whether this is a CSS problem or Html but I'm gonna post it here any way. My footer moves up on my photos pages. I put the footer php file in the exact place I put it on the home page. I don't get why it moves up on my photo page though. Here is the link http://www.wizardsbuzz.com/photos I got a report that on this website http://www.livingwordchurch.org.uk/home.php on certain pages, the entire content shifts to the right. My friend uses FireFox 3 when it does it, although I do too and I don't see anything happening. Do any of you see it moving too? And if so, any ideas why? Hey so I guess there are going to be quite a few groans from some people, but I need help with the HTML Coding on my band's MySpace... I am rubbish at this whole code business so I bow down to anyone who can help me with a few things... Firstly, take a look at the page... www.myspace.com/sevendayslater OK, I've got it looking almost how I want it, but there are a few things that are annoying the hell out of me... 1) The band logo is kind of right-aligned... the code says it is "left" but it looks weird.. 2) I want the music player / gig listing / blog entry to be in line with where it says Biography... 3) The mailing list thingy, does anyone know how to make it the same size as everything else in it's column?? Also can the background be black and not transparent?? If anyone can help I would hugely appreciative!?! |