Jump to content

Ash!

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Ash!

  1. Ash!

    Submenu where art thou?

    It definitely requires additional CSS for the <ul> you will add for dropdown and also some additional JS to handle it when it is collapsed. You need to apply display: block; to the <li>s in the dropdown menu so that they stack up on top of each other. Also, you might need to remove overflow: hidden; from the #nav or the dropdown will always be hidden under it.
  2. Ash!

    Submenu where art thou?

    Can you post a link to the page where you have done it?
  3. Hi, I think what you are trying to do, would work. You need to change the classnames in CSS selectors accordingly. Also, the divs with class element-container cf is doing nothing there as it has no CSS being applied to it. So you can go without it as per me.
  4. Hi, I'm no expert in JS but I'd like to suggest something. This might not be the best solution but here it goes... What you want to do is record the currentTime of the media when user closes the window, right? An AJAX request might not work on beforeunload I guess. What you can try is....save the curerntTime to the localStorage every second using the setInteval method. The currentTime stays in the localStorage when the user closes the window. But when the user comes back to your site, you can retrieve it from localStorage and store in your database using AJAX. I'm not sure if that would help
  5. Ash!

    full bg scroll

    Hi... Have you tried any codes? if so then please post. For the desired effect, you can have a main div with height set explicitly to match the viewport. Apply it a background image and set background-size to cover. Here is example of background-size property: http://www.w3schools.com/cssref/playit.asp?filename=playcss_background-size&preval=cover Then you can set title and description inside with absolute position or any other way.
  6. Hi, I think you need to float the .frame_box div to left and then the .text div will take its place on the right. Try applying float: left; to .frame_box {...}.
  7. Hi harry_ord! Looks like the MP4 format is not working on Firefox, but the WebM works fine. I think swapping the orders of mp4 and webm files, like below, would do the trick. <video id="my-video" class="video" muted="" loop="" controls=""> <source src="videos/Clean_Way.webm" type="video/webm"> <source src="videos/Clean_Way.mp4" type="video/mp4"> </video>
  8. SublimeText works best for me
  9. Hi, Looks like it checks whether the text entered is a valid email address or not. If you are confused by the indexOf part, check this: http://www.w3schools.com/jsref/jsref_indexof.asp
  10. Hi, I think you just have to replace .active with li in your code... .navbar-default .navbar-nav > li > a:hover { color: #ffffff; Font-weight: bold; background-color: red; } This will remove the specification for active link and the red bg effect will be applied to all menu items on hover.
  11. Hi, You are using multiple images in the background. I don't know how exactly it works on your page but I think CSS gradients can help you achieve what you want.
  12. Name: AshBirth date(dd/mm/yyyy): 02/07/1989Gender: MaleCountry of residance: IndiaEyes: 2 :facepalm:Hair: Too many (black )Smoking/Drinking/Drugs: NopesFavourite Music: Bollywood songsFavourite Movies: Troy, The Karate KidInterest: Web design, music and gaming...
×
×
  • Create New...