Web Dev Questions That Don't Need Their Own Thread v4
5,001 replies, posted
[QUOTE=asantos3;40315391]I know that but I didn't remember it because I always add the semicolon. Maybe I'll change my mind like I did with self-closing tags.[/QUOTE]
Like google want us to use <div id="map-canvas" /> for there map API?
Because that feels sooo wrong too me.
[editline]17th April 2013[/editline]
Not to say I don't like it, because I would love to use it if it was a standard.
In the normal version they use that but in the portuguese one:
[html]<div id="map_canvas" style="width:100%; height:100%"></div>[/html]
[QUOTE=Slater;40313396]Baffled as to why my jQuery plugin won't load. I'm pretty sure the script initialises it properly, but it just won't do anything on the page. Indenting doesn't look THAT bad on my editor, either. Sorry!
[CODE]<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="js/jquery.timelinr-0.9.53.js"></script>
<script>
$(function(){
$().timelinr({
orientation: 'vertical',
issuesSpeed: 300,
datesSpeed: 100,
arrowKeys: 'true',
startAt: 3
})
});[/CODE]
HTML:
[CODE] <div id="timeline">
<ul id="dates">
<li><a href="#">date1</a></li>
<li><a href="#">date2</a></li>
</ul>
<ul id="issues">
<li id="date1">
<p>Lorem ipsum.</p>
</li>
<li id="date2">
<p>Lorem ipsum.</p>
</li>
</ul>
<a href="#" id="next">+</a> <!-- optional -->
<a href="#" id="prev">-</a> <!-- optional -->
</div>[/CODE][/QUOTE]
are you sure it's $() and not $.
It's always been <div></div>
[url]http://stackoverflow.com/questions/3558119/are-self-closing-tags-valid-in-html5[/url]
so in <br/> adding the forwardslash "/" is useless in <!doctype html>
also, doctype doesn't need to be all capitalized.
if you want, you can do <div /></div> :v:
[QUOTE=Ac!dL3ak;40317653]are you sure it's $() and not $.[/QUOTE]
[img]http://puu.sh/2C0Up[/img]
Positive
[QUOTE=jung3o;40306794]I need help shrinking this
[html]<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^index/?$ index.php [L,NC]
RewriteRule ^create/?$ create.php [L,NC]
RewriteRule ^link/?$ create_link.php [L,NC]
RewriteRule ^tutorial/?$ tutorial.php [L,NC]
RewriteRule ^contact/?$ contact.php [L,NC]
RewriteRule ^i/?$ get.php [L,NC]
RewriteRule ^i/([0-9]+)/?$ get.php?i=$1 [L,NC]
RewriteRule ^i/([0-9]+)/([0-9]+)/?$ get.php?i=$1&v=$2 [L,NC]
RewriteRule ^index\.(php|html?)$ http://jung3o.com/dynamiclibs/ [R=301,L]
</IfModule>
[/html][/QUOTE]
Updated to my most recent code. I still don't understand why I'm getting errors when I try other things.
i.e.
[html] RewriteRule ^i/([0-9]+)/([0-9]+)/?$ get.php?i=$1&v=$2 [L,NC]
RewriteRule ^i/([0-9]+)/?$ get.php?i=$1 [L,NC]
RewriteRule ^i/?$ get.php [L,NC]
RewriteRule ^(.+)/?$ $1.php [L,NC][/html]
Apache throws an error at me
[code][core:error] [pid 9904:tid 1728] [client 127.0.0.1:55788] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.[/code]
Iit says I'm looping, but [L] is suppose to stop that..
[url]http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteflags[/url]
[QUOTE=P1raten;40318528][img]http://puu.sh/2C0Up[/img]
Positive[/QUOTE]
this makes no sense to me
Someone Web Develop with a Mac? Wich software you use?
[QUOTE=Fridolin;40323137]Someone Web Develop with a Mac? Wich software you use?[/QUOTE]
I love using Netbeans.
[QUOTE=Fridolin;40323137]Someone Web Develop with a Mac? Wich software you use?[/QUOTE]
SublimeText 2
[QUOTE=Ac!dL3ak;40320683]this makes no sense to me[/QUOTE]
I think the guy who wrote that article on that website is illiterate or some shit.
[QUOTE=Fridolin;40323137]Someone Web Develop with a Mac? Wich software you use?[/QUOTE]
Sublime Text 2 / 3 Beta
Sublime Text 2 looks awesome, free software?
[QUOTE=Fridolin;40323919]Sublime Text 2 looks awesome, free software?[/QUOTE]
It's not free, it does only have an unlimited trial period.
mhm.
Like WinRar ? Strange system....^^
[QUOTE=Fridolin;40323940]mhm.
Like WinRar ? Strange system....^^[/QUOTE]
It's all like *You've overextended your usage time by 2 years, please stop using me, pay money to continue using without this popup, or just carry on*
[QUOTE=eternalflamez;40324334]It's all like *You've overextended your usage time by 2 years, please stop using me, pay money to continue using without this popup, or just carry on*[/QUOTE]
lol wat
I believe it's "Thanks for using this product for evaluation, please support the developers and purchase."
[t]http://i.imgur.com/HHWH2rc.png[/t]
I think it would be nice if CSS had a rule like property:#value;
I wonder if it's possible to have the div to have the same height as the table next to it.
[QUOTE=gokiyono;40324679]I think it would be nice if CSS had a rule like property:#value;[/QUOTE]
Do you mean something like this?
[code]
<a href="http://www.google.com>FANCY STYLE GOOGLE LINK</a>
[/code]
[code]
a[href="http://www.google.com"] {
color: #125241;
}
[/code]
Which would give any link with the href set to "http://www.google.com" the color "#125241".
Or are you wanting to set an attribute on an html element from css? (which isn't going to happen)
[QUOTE=KmartSqrl;40327223]Do you mean something like this?
[code]
<a href="http://www.google.com>FANCY STYLE GOOGLE LINK</a>
[/code]
[code]
a[href="http://www.google.com"] {
color: #125241;
}
[/code]
Which would give any link with the href set to "http://www.google.com" the color "#125241".
Or are you wanting to set an attribute on an html element from css? (which isn't going to happen)[/QUOTE]
Impressive, and kinda.
Height for example. I know about the padding-margin cheat to get elements to have the same height, but it doesn't seem to work with tables and divs.
Does your OS matter if you want to develop in ruby and/or python?
If yes, which do you use and why?
[QUOTE=asantos3;40328601]Does your OS matter if you want to develop in ruby and/or python.
If yes, which do you use and why?[/QUOTE]
You can do it on Windows if you want, but you'll really get the best support and tools on OSX or Linux.
Ruby (on rails) seems so much better on OS X than Windows.
Ruby dev is definitely nicer on OSX/Linux. It's also really beneficial to be developing on a system that mirrors the environment you are deploying to as closely as possible, so I would recommend not using Windows unless you're deploying to windows for that reason alone.
Dual-boot with windows 7 and ubuntu then!
I run a VirtualBox VM so I can develop on my Rails apps there.
[t]https://dl.dropbox.com/u/11275736/Src/2013-04-18_17-22-21.png[/t]
Best online resources for learning ruby on rails?
[QUOTE=Hng;40355993]Best online resources for learning ruby on rails?[/QUOTE]
not sure if it's the proper way, but I looked a bit at [URL]http://railsforzombies.com[/URL] and it seemed pretty good. You learn and you can practice afterwards.
[QUOTE=Killervalon;40356029]not sure if it's the proper way, but I looked a bit at [URL]http://railsforzombies.com[/URL] and it seemed pretty good. You learn and you can practice afterwards.[/QUOTE]
[url]http://ruby.railstutorial.org/[/url] is pretty good too
I'm trying to write a chat application that can detect when a user closes the window so that it can log someone offline. I haven't had any luck with the various implementations I've tried on google, so I've got to ask.
How do those really annoying porn popups (the one when you try to close them pop up an alert) work?
Sorry, you need to Log In to post a reply to this thread.