Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

insei

Members
  • Joined

  • Last visited

Everything posted by insei

  1. hi is there a way i can check if a file upload field is empty or not with javascript/jquery when the submit button is pressed?
  2. insei posted a topic in Frontend
    hi i downloaded a script and im trying to understand the code, while trying to edit it as i want it. The script inside the php file is included in the body section. like this: <body> <script type="text/javascript"> //<![CDATA[ some functions //]]> </script> when i try to take this code into a separate file and adding it into the head section, the whole thing ONLY works on firefox :S none other browser which is very odd. what could it be? and what is that //<![CDATA[ //]]> thingy? this is the script: http://www.webmotionuk.co.uk/php-jquery-image-upload-and-crop-v11/ i want the js to be in a separated file but then it wont work on any other browser except for firefox :S
  3. insei posted a topic in Frontend
    hi im wondering how its possible to offset the dropdown from the select boxes, like the ones here: http://www.nettby.no/user/register_step1.php?http_referer= i've seen this countless of other places too, for example facebook. how to do this? regards, alex
  4. i wanted it to be dynamicly sized, so it would stretch, and only be as wide as it needs to.
  5. if i change the width of .picFrame1 to 200px it shows right , something tells me the parent elements width and hight needs to be greater than the child element in order for it to display right. and if i specify the width and height of .toolTipHover it works, but then it wont be dynamic, i dont want one spesific height and width , i want it to be able to stretch since im going to get the data from a db. any tips of how to do this?
  6. hi im having some problems with css positioning. one of my div boxes is affected by parent div boxes, and i dont see the connection and how to fix the problem. this is how it looks like: http://www.xgs-gaming.com/project/ and its code: <body> <div class="wrapper"> <div class="picFrameContainer3x"> <div class="picFrame1"> <div class="pic"></div> <div class="toolTipHover"> <div class="top"> <div class="floatlft1"></div> <div class="floatlft2">Tyrjente, 26 år <br>Skedsmo, Akershus</div> </div> </div> </div> <div class="picFrame2"> <div class="pic"></div> </div> <div class="picFrame3"> <div class="pic"></div> </div> </div> </div> <div class="toolTipHover"> <div class="top"> <div class="floatlft1"></div> <div class="floatlft2">Tyrjente, 26 år <br>Skedsmo, Akershus</div> </div> </div> </body> its css: .wrapper { background-color: red; width: 285px; height: 335px; margin: 100px 0px 0px 0px; } .picFrameContainer3x { width: 285px; height: 83px; background-color: yellow; margin: 0px 0px 10px 0px; padding: 9px 0px 9px 0px; } .picFrame1 { z-index: 2; position: relative; float: left; width: 81px; height: 81px; border: 1px solid #a2a0a0; /* background-color: green; */ margin: 0px 0px 0px 9px; } .picFrame2 { z-index: 0; position: relative; float: left; width: 81px; height: 81px; border: 1px solid #a2a0a0; /* background-color: green; */ margin: 0px 0px 0px 9px; } .picFrame3 { z-index: 0; position: relative; float: left; width: 81px; height: 81px; border: 1px solid #a2a0a0; /* background-color: green; */ margin: 0px 0px 0px 9px; } .pic { width: 75px; height: 75px; border: 0px; margin: 3px; background-color: green; } .toolTipHover { z-index: 1; position: absolute; top: 50px; left: 50px; background-color: #fff; border: 1px solid #a2a0a0; color: #403f3f; } .top { overflow: hidden; background-color: red; } .floatlft1 { float: left; width: 20px; height: 20px; background-color: green; } .floatlft2 { float: left; background-color: yellow; } im totally clueless on this one, any suggestions what i could do to avoid this? if i remove the position: relative; from .picFrame1 then it displays right, but then the positioning is not relative to .picFrame1, but the html element instead. hope someone knows what the issue here is best of regards, alex

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.