This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
481
Archived fixes / [Bug] Re: Select menu is slightly broken on touch screens
« on May 7th, 2012, 05:22 PM »
Yeah, something like this(Not tested)
Code: [Select]
Not entirely sure about the mouseup thing, I think it'l still fire but I haven't experimented with that.
$items = $dd.children().not('.optgroup');
$dd[0].addEventListener('touchend', function(e)
{
$items.mousedown(clickSBItem);
});
$dd[0].addEventListener('touchmove', function(e)
{
scrollTo(startPos - e.touches[0].pageY + iTouch);
e.preventDefault();
});
$dd[0].addEventListener('touchstart', function(e)
{
iTouch = e.touches[0].pageY;
startPos = parseInt($thumb.css('top') || 0);
$items.unbind('mousedown');
});Not entirely sure about the mouseup thing, I think it'l still fire but I haven't experimented with that.
482
Archived fixes / [Bug] Re: Select menu is slightly broken on touch screens
« on May 5th, 2012, 07:53 PM »
One idea to be unbind the click/hover events on start and bind them again at end. Should be a couple more lines.
483
Off-topic / Re: So, busy out here in RL
« on May 5th, 2012, 07:37 PM »
Ah....crap. Node.js is a full webserver which is written using JavaScript...I thought it was a JS framework acting as a webserver(Which made all logic fail in my head). Are there any significant disadvantages to Node.js when compared to Apache apart from the spectacular documentation?
484
Off-topic / Re: So, busy out here in RL
« on May 5th, 2012, 07:28 PM »
But if you're polling the client side itself, how does that help? Are you querying the server-side database through Node.js? if so, how? Because I am not getting how you're ultimately taking the server out of equation.
485
Off-topic / Re: HTML5 Upload Progress.
« on May 4th, 2012, 07:05 PM »
You can't alter upload_max_filesize or post_max_size from a php script, you need to use php.ini or .htaccess. So your script is probably dying because of upload restrictions.Quote from Arantor on May 1st, 2012, 07:59 PM JavaScript!
I know Dragooon actually implemented this into a plugin for Wedge, but I can't remember offhand how he actually did it.
486
Archived fixes / Re: SMF bug 4956 (slash in cache key causes cache to fail)
« on April 16th, 2012, 07:22 PM »
I'm fairly sure SMG had no cache when I made it...or did it?
487
Off-topic / Re: Google Code-in
« on March 31st, 2012, 02:12 PM »
Thanks :)
It's a post on Google's official opensource blog
http://google-opensource.blogspot.in/2012/02/google-code-in-2011-grand-prize-winners.html
It's a post on Google's official opensource blog
http://google-opensource.blogspot.in/2012/02/google-code-in-2011-grand-prize-winners.html
488
Plugins / [Plugin] Re: Improved attachments upload
« on March 31st, 2012, 02:10 PM »
Now supports client side validation and I improved the drag and drop area.
Updated first post with screenshots.
Updated first post with screenshots.
489
Off-topic / Re: Google Code-in
« on March 31st, 2012, 01:51 PM »
Just as a continuation, I've officially won the competition and am going for the trip on June 12th with my whole family(My parents and sister), we managed to extend the 4 day trip to a full 18 day trip of US where we'll be visting San Francisco, Las Vegas, Los Angeles and New York, ofcourse we're paying the extra :P.
490
Plugins / Re: Which next? [Poll]
« on March 31st, 2012, 01:46 PM »
I'm fairly sure there has been about 1 or 2 tournament plugins for SMF, one of them was a port of some phpBB add-on. I don't think any ever got finished though.
491
Plugins / [Plugin] Re: Improved attachments upload
« on March 31st, 2012, 09:00 AM »
Thanks :), I'd rather have it as a plugin now(Even if it becomes an official one), because I don't see it being much prettier(code wise) even if integrated into core itself. Plus I'm too lazy to do that ATM :P, although I'll try to take a look at it in a while.
492
Plugins / [Plugin] Re: Improved attachments upload
« on March 30th, 2012, 07:26 PM »
I had a fairly good idea for this plugin that I forgot. Damn I need to take more notes.
493
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 07:25 PM »Oh, instead of jQuery('#tooltipclick').\click{ your code is: jQuery('#tooltipclick').click(function(){
And works! ;)
494
Plugins / Re: Which next? [Poll]
« on March 30th, 2012, 07:23 PM »
Damn, now I want to make a tournament plugin(Not that I will, I hardly got any time as is :P). Would be quite useful for clan gaming websites which conduct tournaments on a fairly regular basis. Although it will need to support various tournament formats(league, round-robin, knockout etc) to be useful.
495
Off-topic / Re: Need help with a tooltip (jQuery)
« on March 30th, 2012, 07:11 PM »
Technically there isn't anything wrong with the code since the script's at the end, but this works fine for me.
Code: [Select]
<html>
<head>
<script src="http://compagniaoltreconfine.com/beta/wp-content/themes/compagniaoltreconfine/jquery.min.js" type="text/javascript"></script>
</head>
<body>
<div id="tooltip" style="display:none;text-align:right;position:absolute;width:1000px"><div id="dentrotooltip" style="float:right;width:auto;padding:12px;color:white;margin-top:-36px;background:none repeat scroll 0 0 rgba(0, 0, 0, 0.8);box-shadow:1px 1px 6px rgba(0, 0, 0, 0.5)">graphic design: <a href="http://drlm.it">drlm.it</a><br>web design: <a href="http://lorenzoraffio.com">lorenzoraffio.com</a></div></div>
<div id="barrasotto"></div>
<p style="margin-top:5px;text-align:right">
<a id="tooltipclick" style="color:darkred;border-bottom:1px dotted;font-size:11px;font-weight:bold">Credits</a>
</p>
<script>
jQuery(function()
{
jQuery('#tooltipclick').click(function(){
jQuery('#tooltip').toggle();
});
});
</script>