Jump to content

Javizy

Members
  • Posts

    44
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Javizy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It's DHTML. You'd create a js function that would be called when there's a new message, and this would position the "window" and make it visible. You'd need to use mouse capture to allow it to be moved. Also, you'd need a "close" button that would make it invisible again. Without the mouse capture it's really simple, and basically revolves around myWindowElement.style.visibility = "visible"
  2. I like the direction you're going in, but I definitely think you should make the header small so that the four pics and the menu line up (like someone else mentioned). The header and body don't quite seem to go together as it is. Also maybe a nicer type face for the logo, and a graphic rather than regular text below it. I think that'd make it look a lot more sleek.
  3. [!--quoteo(post=347675:date=Feb 20 2006, 06:24 PM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ Feb 20 2006, 06:24 PM) [snapback]347675[/snapback][/div][div class=\'quotemain\'][!--quotec--] I didn't read everything, but I just thought I'd comment on the blue design like everyone else... it looks fantastic. Your layouts appear to be pretty solid, even with the other style sheets, but I personally don't like your method of style-sheet switching. You should really be able to accomplish that using sessions instead of passing the style selection through each link. Just a suggestion. [/quote] Thanks. The selection is passed once with a GET, and the value is stored in a cookie so the style can be kept on each page. I changed it to use a redirect too so you never see the URL rewriting. The other styles need quite a bit of work, so I'm not even sure if I'll keep the skin feature at this rate ^_^
  4. Yeah buttons and stuff would cluster things. Something like a simple set of Index > Forum > Topic links at the bottom on one side, and the page numbers on the other would be good.
  5. [!--quoteo(post=346203:date=Feb 16 2006, 12:09 AM:name=ruddernz)--][div class=\'quotetop\']QUOTE(ruddernz @ Feb 16 2006, 12:09 AM) [snapback]346203[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hi there, I have a form in php where the user puts in a dienumber, number of peices,and the length of each cut. I need then to look up the weight of the die in a db then multiple that by the number of peices multiple the length, then output the answer in the kgs field, is this possible? Figured i would need the onChange and thus js. But my php is better than my js :S So far have this, think im nearly there(maybe?) Thanks echo '<script language="javascript">'; echo 'function Getweight(){'; echo 'peices = document.inputs.pieces.value;'; echo 'cutlength = document.inputs.cutlength.value;'; //need to look up weight of die //need to output back to doc.inputs.kgs echo '}'; echo '</script>'; echo '<FORM action="../update/updateOrdering.php" method="get" name="inputs">'; echo '<TD class="value"><INPUT type="text" name="dienumber" value="" maxlength="10" size="20"></TD>'; echo '<TD class="value"><INPUT type="text" name="pieces" value="2" maxlength="10" size="20"></TD>'; echo '<TD class="value"><INPUT type="text" name="cutlength" value="1" maxlength="10" size="20" onChange="Getweight()"></TD>'; echo '<TD class="value"><INPUT type="text" name="kgs" value="" maxlength="10" size="20"></TD>'; ..... select dieweight from die_tab where dienumb = 1234 [/quote] I'm a little confused by your post. If you're asking if you can send requests to a database with JS I'm afraid you can't. Can't you submit the form, and then process the fields with PHP using $_GET['pieces'], etc, query the DB, make the calculations and then display a message to the user? You don't really want js to take care of any essential functions because of the varying support and fact that some people disable it. When it comes to forms you're best to use JS for validation, but even then you have to double check on the server-side.
  6. Javizy

    Syntax

    [!--quoteo(post=345967:date=Feb 15 2006, 10:20 AM:name=shan_cool)--][div class=\'quotetop\']QUOTE(shan_cool @ Feb 15 2006, 10:20 AM) [snapback]345967[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hi all, I have 4 variables and i want each variable value to be printed in a single row but in diff tabs Can anybody tell wht is the syntax? Thks shan_cool [/quote] I have pretty much no idea what you mean, but to print four items on one row you can use a table and td's: [code] <table> <tr> <td>Var 1</td> <td>Var 2</td> <td>Var 3</td> <td>Var 4</td> </tr> </table> [/code]
  7. I agree with moberemk on the buttons, but I don't think it's so much their fault as the fact that they don't go with a flat white background. I notice you don't have a doctype statement either so your code probably isn't valid, and this can cause display issues and hinder search engine crawler attempts to index your site. So maybe look into that.
  8. [!--quoteo(post=345878:date=Feb 14 2006, 11:43 PM:name=redbullmarky)--][div class=\'quotetop\']QUOTE(redbullmarky @ Feb 14 2006, 11:43 PM) [snapback]345878[/snapback][/div][div class=\'quotemain\'][!--quotec--] valid comments from everyone here, and all taken on board. i'm solidly sticking my ground on the concept/theme of this one, but i've kinda had a (slight) compromise. here's the old one: [a href=\"http://www.thedinnertimes.com/forum/forumbak.php?fid=2\" target=\"_blank\"]Forums - Old Topic layout[/a] [a href=\"http://www.thedinnertimes.com/forum/forum.php?fid=2\" target=\"_blank\"]Forums - New Topic layout[/a] any thoughts on the new layout? slightly easier to digest? [/quote] Yeah that's not too bad much easier to skim through. One thing I would suggest is some navigation at the bottom of the topic pages so you don't have to scroll back to the top after reading. Other than that looking good.
  9. Not sure if it works for me. Seems to take longer to scan through them, so I imagine that if there were lots of new topics and posts it would get annoying eventually. Good effort in trying something new, but with the way forums have been perfected I'm not sure this is an area you should try reinventing the wheel on.
  10. [!--quoteo(post=345752:date=Feb 14 2006, 06:40 PM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ Feb 14 2006, 06:40 PM) [snapback]345752[/snapback][/div][div class=\'quotemain\'][!--quotec--] i will probably mirror some of what has been said, but i'll try to elaborate a little. first off, let me say, i absolutely LOVE the blue layout! the picture is gorgeous, and i can't get over how well the design flows together. seriously, major kudos on that one! the colors, pictures, menu... all of it: very, very well done. now, on to the "others" ;-) GREEN: not bad at all, but it's a little plain. there is one thing on it that i don't like at all, though: i can't stand when link text actually [i]changes[/i] when i hover over it. for instance, your menu "jumps" because it becomes italicized when you hover... not the best look. color, underline, border, or other "decorations" are great to play with, but i think the text itself should be fixed. next, i really think that a dark background (maybe a shade of your dark green) would really change the whole mood of that layout into something more inviting. it's just bland. it's still very clean, but needs a little something. PINK: ah! beauty is in the eye of the beholder, but i still have yet to find a pink themed layout i really like. the picture of the flower is gorgeous, and it would be a WONDERFUL addition to a banner for maybe another blue theme, but when everything is pink, it's extremely washed out. pink is not a color that's easy to compliment with more pink ;-). as far as the layout itself, it's just kind of "more-of-the-same", but again, it's very clean. like i said, i repeated a lot, but i hope i gave you enough to know WHY i feel the way i do about the different designs. overall, great work, though! keep up the good work! i look forward to seeing the finished product. [/quote] Thanks for taking the time to comment, and I actually agree with all of what you said. The green hovers do also jump 5px to the right as well as italicising. I wanted to try something different but I think I'll change that. The pale green [i]is[/i] quite bland so I'll mess about with the colours at some point. With the pink one the only reason it made it on there is because I thought the flower looked great. I didn't think any other colours would go with it so I just stuck with pink, but I'll play around with that as well. Thanks to everyone else who commented. I think I'll cut out a bit of sky to bring the content up, although it looks quite good in 1280x1024 :-)
  11. [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--][b]Use onfocus to track the current focus:[/b] the events [i]onfocus[/i] and [i]onblur[/i] can now be used with every element. There is no standard DOM interface to get the current document focus, so if you want to track that you'll have to keep track of it in a JS variable. [/quote] Taken from [a href=\"http://www.mozilla.org/access/keyboard/tabindex\" target=\"_blank\"]mozilla site[/a] So if you're already setting a function for the onfocus event for the textareas, add a function call that stores the id in a variable, and then use this in a getElementById in your insert function.
  12. [!--quoteo(post=345555:date=Feb 14 2006, 02:16 AM:name=aball65)--][div class=\'quotetop\']QUOTE(aball65 @ Feb 14 2006, 02:16 AM) [snapback]345555[/snapback][/div][div class=\'quotemain\'][!--quotec--] Clicking the Q/PL button as defined by the following HTML: <td> <form> <input class="mediumbutton" type="button" value="Q P/L" onClick=popQIPLWindow(02132006205725) title="Query Parts and Labor"> </td> </form> and Javascript: function popQIPLWindow(rcvnum) { var varrcvnum=parseInt(rcvnum); url = 'http://localhost/lawnmower/qipl.php?rcv_num=' + varrcvnum window.open(url,'mywindow','left=525 width=475,height=320,resizable=yes,scrollbar=yes,location=yes'); return true; } results in the following screen pop 75% of the time: [a href=\"http://localhost/lawnmower/qipl.php?rcv_num=2132006210949\" target=\"_blank\"]http://localhost/lawnmower/qipl.php?rcv_num=2132006210949[/a] and the following screen pop 25% of the time: [a href=\"http://localhost/lawnmower/qipl.php?rcv_num=149520190421\" target=\"_blank\"]http://localhost/lawnmower/qipl.php?rcv_num=149520190421[/a] The following is the screen pop I need: [a href=\"http://localhost/lawnmower/qipl.php?rcv_num=02132006210949\" target=\"_blank\"]http://localhost/lawnmower/qipl.php?rcv_num=02132006210949[/a] Any help would be greatly appreciated - Thanks. [/quote] localhost links won't work over the web I'm afraid. Substitute your IP address in its place.
  13. [!--quoteo(post=345552:date=Feb 14 2006, 02:06 AM:name=moberemk)--][div class=\'quotetop\']QUOTE(moberemk @ Feb 14 2006, 02:06 AM) [snapback]345552[/snapback][/div][div class=\'quotemain\'][!--quotec--] Aside from the pink skin, everything looks great! Good job! *shiver* Pink... [/quote] Thanks for the kind words, I'm quite pleased with the water one. I'm kinda lucky to have a photographer as a friend :-) Haha, I was messing around with the flower picture in photoshop and thought I'd turn it into a skin. Not sure if even I like it... one for the ladies maybe, I dunno ^_^
  14. Nobody come across Dev-PHP2? It's free, has your standard text editor features like syntax highlighting, and allows you to preview your php sites without installing a web server. I'd give it a thumbs up.
  15. I've been meaning to get something online for a while so I finally bought some space and uploaded [a href=\"http://www.james-kirk.co.uk/\" target=\"_blank\"]THIS SITE[/a]. Would appreciate any comments/suggestions and especially knowing any problems people have with it. No real content so far, but there are 3 different looks you can switch between using the little squares next to SKIN at the top.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.