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.

Ravi

Members
  • Joined

  • Last visited

Everything posted by Ravi

  1. I've just double checked, my sendmail.ini looks very different to the one described in the post. I don't have anything to do with Mercury at all, and when I do apply the appropriate lines of code into the sendmail.ini and php.ini nothing seems to be sent. My sendmail.ini looks like this: [sendmail] ; you must change mail.mydomain.com to your smtp server, ; or to IIS's "pickup" directory. (generally C:\Inetpub\mailroot\Pickup) ; emails delivered via IIS's pickup directory cause sendmail to ; run quicker, but you won't get error messages back to the calling ; application. smtp_server=localhost ; smtp port (normally 25) smtp_port=25 ; the default domain for this server will be read from the registry ; this will be appended to email addresses when one isn't provided ; if you want to override the value in the registry, uncomment and modify ;default_domain=local ; log smtp errors to error.log (defaults to same directory as sendmail.exe) ; uncomment to enable logging ;error_logfile=error.log ; create debug log as debug.log (defaults to same directory as sendmail.exe) ; uncomment to enable debugging ;debug_logfile=debug.log ; if your smtp server requires authentication, modify the following two lines ;auth_username= ;auth_password= ; if your smtp server uses pop3 before smtp authentication, modify the ; following three lines ;pop3_server= ;pop3_username= ;pop3_password= ; to force the sender to always be the following email address, uncomment and ; populate with a valid email address. this will only affect the "MAIL FROM" ; command, it won't modify the "From: " header of the message content ;force_sender=me@localhost ; sendmail will use your hostname and your default_domain in the ehlo/helo ; smtp greeting. you can manually set the ehlo/helo name if required ;hostname=localhost Where do I proceed from here?
  2. I've tried the first three solutions already and they don't seem to work.
  3. Hi I'm trying to test out a contact form I made but have no idea how to get my localhost to actually send emails. I've got xampp installed under default settings and have not changed any of the configuration files. I have gmail and hotmail accounts that I'm willing to use for testing my contact form.
  4. Ravi replied to Ravi's topic in Frontend
    no because the 'contact us' tab slides down when clicked and displaces the whole contents of the page further down. Therefore I included the background image on the actual page itself so it would slide down too...
  5. Ravi posted a topic in Frontend
    Hi all, currently having problems trying to get the background div appear centred in MSIE 7.0 and below. It works fine in safari, firefox, opera, MSIE 8 and chrome... is there an extra few lines of CSS or HTML that I need to append to get MSIE 6 and 7 in particular to comply (not too concerned about MSIE 5 and below) website: here relevant HTML: <div id="background_container"> </div><!-- background container --> relevant CSS: #background_container{ background: url(images/background_spl.jpg) no-repeat 50% 0%; height:832px; } MSIE 7:
  6. the php.ini file states that the details I should be changing are for windows users only: [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = I'm running this server locally. what address/port would that be, if you know? -- sorry for all the questions, complete PHP n00b here!
  7. which settings would I change? Here are the settings I currently have showing with phpinfo(); in the following syntax: [directive] [local value] [master value] sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25
  8. (hopes this is the right section!) Hi there, I'm coding PHP on Mac OSX 10.5 (Leopard) with the latest version of XAMPP (1.0.1) and I'm having trouble to see why my mail(); won't work. The code seems valid in every way, and it even loads the success statement which its instructed to echo when the function is complete. My only guess is that there is a setting somewhere in XAMPP that is stopping the mail(); from working. Any ideas as to what to do? Everything in XAMPP is at its default settings, if that is any help.
  9. Hi all, On a HTML page I have placed 12 flash animations within a span tag and have given each of those span tags the class flash. I have an anchor tag that with the class showall to show the flash animations and another anchor tag with the class hideall to hide them What I want to end up doing in the end is having showall# open flash# and hideall# closing its corresponding flash#. Below is my current jQuery code running for the example from paragraph 1. Now how would I go about writing my new jQuery code without creating a 12 different sets of code merely with a change of character in the class names etc. Is there a smart way to do this using parameters or something? Sorry, my JavaScript knowledge isn't that strong <!-- this is in the <head> by the way --> <script> $(document).ready(function(){ $("span.flash").hide(); $("a.showall").click(function(){$("span.flash").slideDown(800)}); $("a.hideall").click(function(){$("span.flash").fadeOut(800)}); }); </script>
  10. Ravi replied to Ravi's topic in Hardware
    I thought macs don't defrag because they are on a unix-based system which means that it doesn't fragment its files? yes you can, very easily.
  11. Ravi posted a topic in Hardware
    Hi all, I've recently bought an iMac and am wondering what is the average lifespan for an iMac to be? How many years did it run smoothly before you encountered problems and what sort of problems were they? And also, for those of you still with your first iMac, how long have you had it for? Second question.. I was talking to a friend of mine who has an iMac too. I was telling him how quickly it started up and he was shocked that I actually shut it down everyday. Is it common for people to simply leave their iMacs on 'sleep' and then come back to it the next day or a few days later and just continue working? I've personally only left my pc on sleep when I had to go out for a few hours or so and knew I would be back. I've never really used the sleep function in the way that he described it.
  12. Ravi replied to Ravi's topic in Frontend
    thanks soo much! I was stumped for hours
  13. Hi, can somebody please help me try and get the sidebar of this page to float to the right and be at the top of the page? http://tinyurl.com/4c7zeq I need it to work in MSIE7 and FF3.
  14. Im 15 turning 16 in November (starting year 11 in September) and will sit my GCSEs in July '09.
  15. <meta http-equiv="imagetoolbar" content="no"> (if you're using HTML) <meta http-equiv="imagetoolbar" content="no" /> ( if you're using XHTML)
  16. Ravi posted a topic in Frontend
    hi everyone! I've got a JavaScript tool tip with the following code: var tooltip=function(){ var id = 'tt'; var top = 3; var left = 3; var maxw = 300; var speed = 10; var timer = 20; var endalpha = 95; var alpha = 0; var tt,t,c,b,h; var ie = document.all ? true : false; return{ show:function(v,w){ if(tt == null){ tt = document.createElement('div'); tt.setAttribute('id',id); t = document.createElement('div'); t.setAttribute('id',id + 'top'); c = document.createElement('div'); c.setAttribute('id',id + 'cont'); b = document.createElement('div'); b.setAttribute('id',id + 'bot'); tt.appendChild(t); tt.appendChild(c); tt.appendChild(b); document.body.appendChild(tt); tt.style.opacity = 0; tt.style.filter = 'alpha(opacity=0)'; document.onmousemove = this.pos; } tt.style.display = 'block'; c.innerHTML = v; tt.style.width = w ? w + 'px' : 'auto'; if(!w && ie){ t.style.display = 'none'; b.style.display = 'none'; tt.style.width = tt.offsetWidth; t.style.display = 'block'; b.style.display = 'block'; } if(tt.offsetWidth > maxw){tt.style.width = maxw + 'px'} h = parseInt(tt.offsetHeight) + top; clearInterval(tt.timer); tt.timer = setInterval(function(){tooltip.fade(1)},timer); }, pos:function(e){ var u = ie ? event.clientY + document.documentElement.scrollTop : e.pageY; var l = ie ? event.clientX + document.documentElement.scrollLeft : e.pageX; tt.style.top = (u - h) + 'px'; tt.style.left = (l + left) + 'px'; if (u < tt.width) { tt.style.bottom = top + u; } }, fade:function(d){ var a = alpha; if((a != endalpha && d == 1) || (a != 0 && d == -1)){ var i = speed; if(endalpha - a < speed && d == 1){ i = endalpha - a; }else if(alpha < speed && d == -1){ i = a; } alpha = a + (i * d); tt.style.opacity = alpha * .01; tt.style.filter = 'alpha(opacity=' + alpha + ')'; }else{ clearInterval(tt.timer); if(d == -1){tt.style.display = 'none'} } }, hide:function(){ clearInterval(tt.timer); tt.timer = setInterval(function(){tooltip.fade(-1)},timer); } }; }(); $(document).ready(function(){ $.getJSON("fetcher.json", function (json){ $.each(json.items, function (i, items) { $('li.pale' + (i+1)).each( function () { $(this).mouseover( function () { var imageURL = '../fetcher/' + items.image; tooltip.show('<h1>' + items.heading + '</h1> <p>' + items.content + '<br /><img src="'+ items.image + '" alt="image" /><br />'+ items.image +'</p>'); }); $(this).mouseout(function(){ tooltip.hide() }); }); }); }); }); and in my html, wherever I have labelled a list item: <li class="pale1">String</li>, a tooltip will appear corresponding to .pale1 . Now what I need help with is the fact that some of the tooltip goes above the page (outside the document) so is not visibile. Can anyone help me with coming up with some JavaScript to detect how much space there is at the top and then make the tooltip shift accordingly. Here is where I got the code from (*** I then modified some of it to accommodate jquery). I'd really appreciate the help, I'm on work experience here and want to make a good impression. Cheers
  17. Photoshop is the design industry standard, but it comes at a price (a noticable one too). The GIMP is a free opensource application that has tons of features, like photoshop, but isn't as polished. But, if you're on a budget - there is a great alternative for free: the GIMPShop. This is basically the GIMP sort of arranged like photoshop. This will help you migrate to photoshop when you want to switch from the GIMP as a lot of the features are very similar and now that they are arranged similarly, you won't have to go fishing aroung and starting to learn the UI from scratch. both packages are great and have the appropiate tools and features. hope that helps.
  18. Ravi replied to Ravi's topic in Frontend
    sorry, found the solution now. Used jQuery: $('li.pale1').each( function () { $(this).mouseover( function () { tooltip.show("TEST"); }); $(this).mouseout(function(){ tooltip.hide() }); });
  19. Ravi posted a topic in Frontend
    hey all, can someone please help me take the following out of the HTML and put work out what to put in an external stylesheet: <li class="pale1" onMouseOver="tooltip.show('Testing 123 <strong>Testing 123</strong>');" onmouseout="tooltip.hide();"><a href="http://www.google.com">123</a></li> I got the following in JavaScript, but its not working: getElementsByClassName('pale1').mouseOver(tooltip.show("TEST")).mouseOut(tooltip.hide()); any ideas?
  20. cheers, you two Better start saving up
  21. Hi all, I'm thinking of learning jQuery and want to take my JavaScript further. Are there any recommended books / websites that you lot know of that can help me on my quest? My local library network does not have a single book under jQuery so I've now turned to you guys. I would prefer something that would teach and walk through (something like "php and mysql for dynamic websites") as opposed to a reference guide for jQuery. Ravi
  22. Having validated website code means that you are less likely to have cross-browser issues and I guess it also shows some level of competancy. The W3C standards recommended. They are not essential, but it gives coders guidelines as to what is good practice and what is not.
  23. I'm aware that the latest edition is "PHP 6 and MySQL 5 for Dynamic Websites", but my local library network only has this edition and I can't buy a copy as I'm tight on funds so to speak.
  24. I have resolved the issue for now using: $_POST[name] but can anyone tell me what's wrong with my setup at the moment? I'll willingly submit any code/files you need for inspection. Thanks
  25. Hi, I'm following "PHP and MySQL for Dynamic Websites" (covering PHP 3+4 and MySQL 3+4 edition). I am using WAMP as a local server to test all my pages on. I seem to have come across a problem where I have to create a form and form handler. For anyone who has the copy I'm using, I'm stuck on page 39+40 and keep on getting figure 2.4 instead of 2.3. Apparently, according to the book, I've got to enable register_globals for my php. I did this by going into: C:\wamp\bin\php\php5.2.5\php.ini and editing the following: into I restarted the browser and WAMP but I still keep on getting my form handler's response to be blank. Can anybody help me?

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.