Jump to content

amin7b5

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

amin7b5's Achievements

Member

Member (2/5)

0

Reputation

  1. Awesome! The point system is perfect! Thank you SO much for that bit of advice. One last question. When you say, "give them each a point and hold onto them" are you assigning these points all within the db query with SELECT 10 or SELECT 15, or would you add the points up in a php array? I've never performed that type of weighted db query before, so I will have to do some research, but if I understand you correctly, I'll be able to perform the query and simply take the top three items in the outputted array. Correct?
  2. I am wanting to do something similar to this: http://www.dimarzio.com/pickup-picker My question involves the concept rather than any specific code on how to execute this. For example, we are selling violins and we want the user to input info about their playing style, and give them the three best violins based on their entry. This is the data I've been given: Level: Beginner Intermediate Advanced [/td] Soil, Kreisler, Gibson Soil, Kreisler, Ysaye, Cremonese, Gibson Cannon, Soil, Ysaye, K.Joseph, Keifetz Bowing Style: Soft Medium Hard Soil, Medici, Kreisler Soil, Medici, K.Joseph, Ysaye Cannon, Kreisler, Soil, Heifetz Musical Style Classical Fiddle Rock Ysaye, Soil, Provigny Medici, Ysaye, K.Joseph Kreisler, Diable, Vieuxtemps Desired Tone: Bright Balanced Dark [td]Soil, Medici, Provigny Kreisler, Soil, Ysaye Cannon, Diable, Plowden So if the user inputs Expert, Hard, Rock, and Dark I will data sets of violins consisting of: Cannon, Soil, Ysaye, K.Joseph, Heifetz // Cannon, Kreisler, Soil, Heifetz // Kreisler, Diable, Vieuxtemps // Cannon, Diable, Plowden Out of those I need to output the user the three best choices for them. Cannon is listed in 3 out of the 4, so that has to be #1. Now there are three more violins that match two of the criteria. The Soil, Kriesler and Diable. In order to drill that down to two choices, I would think the questions would have to be ranked according to importance. For instance Tone is most important, followed by bowing style, musical genre, and skill level. Based on that ranking, the program should choose the Diable and Kreisler. I am not entirely sure how to approach this. Since this data will not change frequently, should this even get the database involved? Should the info just be stored in a multi-dimensional array? Once the data is in an array, whether from the DB or not, how should I go about programming the logic to examine the arrays in order of importance and grab the violins that are most relevant? Any help is much appreciated! I figured this was going to be easy, until I actually started thinking about it!
  3. Here is my dilema. I will have a group of 20 items and the user will be able to select up to three of them. After clicking a compare button, it would load a video for each item and play them back one right after another, seamlessly with no transition. It's my desire to use javascript instead of flash for this. I'm learning the ins and outs of JQuery right now. Is this possible using JQuery? Am I on the right track? Any advice on what direction to take would be appreciated. Thanks in advance!
  4. That's brilliant! Why limit myself to a 4'x9' booth, when I can have a giant air balloon to take clients and float over the entire civic center.
  5. You guys are quite the creative bunch, so I figured I'd fire this question at you. I'm getting into some freelance web design and development, mainly targeting small business owners. I've got a booth at our city's upcoming home builders assoc show. People expect to see all kinds of products offered there and I think it would be a great place to advertise my services. My space is limited, approx a booth that's 4' wide by 9' deep. What I'm looking for is any creative ideas on how to set up my booth to make it stand out from the crowd! Thanks for reading, and if you have an idea, I'm all ears!
  6. Hey there is a really cool javascript sign designer at www.buildasign.com. This was pointed out to me by a potential client and I'm wondering if anyone has seen a javascript app that has similar functionality as buildasign's Power Designer, either commercial or open source, that one could acquire to add a similar functionality to a web site? Thanks!
  7. If you view my site in a browser window smaller than the width of the page the horizontal scroll bars don't scroll right... they leave the right side of the page invisible. It's hard to explain. You can check it out at http://www.highwiredweb.com I'm sure this is a css issue somewhere, but I can't seem to pin it down. Any ideas would be most appreciated! Thanks!
  8. When I change the comments to <![CDATA[ as recommended, the script breaks. From what I've been reading, this may be due to the fact that the page is serving in text/html and <![CDATA[ will only work if it's serving in application/xhtml+xml. I'm unsure how to change this. ???
  9. I surely learn something new every day! Thanks, that was the answer.
  10. I'm really struggling to get a piece of script to validate in xhtml 1.0. The code is the following: <script type="text/javascript">window.addEvent('domready', function() { new YOOtooltip('yoo-tooltip-1', '<img src="images/latest_work/aos.jpg" alt="Alt Text" /><p>Text goes here</p>', { mode: 'cursor', display: 'block', width: 315, style: 'default', sticky: 0 }); });</script> This doesn't validate because of the html code within the script tag, however if I replace the '<' and '>' with < and > it will validate but break the script! My javascript knowledge is limited and this is a third party tool tip script. Thanks in advance for any advice on how to get this to validate!
  11. DOH! Sorry, removing: ul.menu li.parent a:link, ul.menu li.parent a:visited, { color:#f58544; } was the solution!
  12. Hello. This one has me totally stumped! I have a menu system with 5 categories. Below the first category is a sub-menu that's always displayed. I simply want the category links in orange, the submenu in grey and hover to be in light orange for both the main menu and sub menu. It's important to note too that I have it set up to highlight the link to the current page with light orange and it's styled so that when you click on the first category the sub menu will remain unselected, and likewise when you are in the submenu the parent category will remain unselected. I hope that makes sense. Now the following code works perfect in Firefox, Safari and IE7... but in IE6 the sub-menu is orange instead of grey! I can't figure this one out... is there something I'm missing in regards to how IE6 styles lists? Thanks in advance for any ideas! Here's the code: <div class="moduletable_menu"> <ul class="menu"> <li class="parent"><a href="Category 1">Category 1</a> <ul> <li><a href="Sub_Menu1">Sub_Menu1</a></li> <li><a href="Sub_Menu2">Sub_Menu2</a></li> <li><a href="Sub_Menu3">Sub_Menu3</a></li> </ul> </li> <li><a href="Category 2">Category 2</a></li> <li><a href="Category 3">Category 3</a></li> <li><a href="Category 4">Category 4</a></li> <li id="current"><a href="Category 5">Category 5</a></li> </ul> </div> And the relevant CSS .menu li { list-style-image: url(../images/arrow_right.gif); background-repeat:no-repeat; padding:0 0 15px 0px; letter-spacing:3px; } .menu li ul li { list-style-image: url(../images/arrow_submenu.gif); margin:0 0 -18px -30px; letter-spacing:1px; } .menu li a:link, .menu li a:visited { font-family:Arial, Helvetica, sans-serif; font-size:large; color:#f58544; text-decoration:none; } .menu li a:hover, #current { font-family:Arial, Helvetica, sans-serif; color:#f4b490; text-decoration:none; } /* Sub Menu */ .menu li ul li a:link, .menu li ul li a:visited { font-family:Arial, Helvetica, sans-serif; font-size:small; color:#999999; text-decoration:none; } .menu li ul li a:hover { font-family:Arial, Helvetica, sans-serif; color:#f4b490; text-decoration:none; } /* Highlighting Effects */ ul.menu .parent a:link, ul.menu .parent a:visited, { color:#f58544; } ul.menu .parent a:hover { color:#f4b490; } ul.menu #current a { color:#f4b490; } ul.menu li#current ul li a:link, ul.menu li#current ul li a:visited { color:#999999; } ul.menu li#current ul li a:hover { color:#f4b490; }
  13. Hey, that did the trick! Thank you so much!
  14. Here's all seven errors from the validator! # Line 41, Column 62: XML Parsing Error: Unescaped '<' not allowed in attributes values. …id(0);" onmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' ✉ # Error Line 41, Column 62: XML Parsing Error: attributes construct error. …id(0);" onmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' ✉ # Error Line 41, Column 62: XML Parsing Error: Couldn't find end of Start Tag a line 41. …id(0);" onmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' ✉ # Error Line 41, Column 71: XML Parsing Error: AttValue: " or ' expected. …nmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' alt=\'Adv ✉ # Error Line 41, Column 71: XML Parsing Error: attributes construct error. …nmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' alt=\'Adv ✉ # Error Line 41, Column 71: XML Parsing Error: Couldn't find end of Start Tag img line 41. …nmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' alt=\'Adv ✉ # Error Line 41, Column > 80: XML Parsing Error: Opening and ending tag mismatch: div line 37 and a. …r="return overlib('<img src=\'images/latest_work/aos.jpg\' alt=\'Advanced Ove…
  15. I am new to Javascript and I downloaded OverLIB for some interesting mouseover effects. I try to build all of my pages so that they will validate on W3C and although the OverLIB script is working fine, the markup to instantiate the mouseover simply will not validate, i think because I'm placing html tags within tags. Here is an example: <a href="javascript:void(0);" onmouseover="return overlib('<img src=\'images/latest_work/aos.jpg\' alt=\'Advanced Overlay Systems\' /><br /><p>This is a little caption box displaying an image and some text.', STICKY, CAPTION, 'Advancedoverlay.com', MOUSEOFF);" onmouseout="return nd();"><img src="images/latest_work/aos.jpg" alt="Advanced Overlay Systems" /></a> If there is anyway to get this markup to validate, I'd love to find out! I wasn't sure if this belongs in the javascript or html forum, but since it involves a script I figured I'd start here. Thanks in advance to any help.
×
×
  • 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.