• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:02
CEST 10:02
KST 17:02
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris20Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : 2v2 & SC: Evo Complete: Weekend Double Feature Geoff 'iNcontroL' Robinson has passed away The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Joined effort Flash On His 2010 "God" Form, Mind Games, vs JD New season has just come in ladder BW General Discussion Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[ASL20] Ro24 Group B [ASL20] Ro24 Group C BWCL Season 63 Announcement [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The year 2050 Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1999 users

The Big Programming Thread - Page 343

Forum Index > General Forum
Post a Reply
Prev 1 341 342 343 344 345 1031 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
August 14 2013 09:20 GMT
#6841
On August 14 2013 18:01 adwodon wrote:
Show nested quote +
On August 14 2013 17:43 spinesheath wrote:
That kind of depends on the technology (for example WPF, MFC, Win32 or whatever that ancient stuff is called) you are using for your user interface, but generally I'd assume you can change styles for individual controls, yes.


Yea its all Win32, I've not dared touch anything else, MFC looks a bit horrible. WPF looks mental but I hear if you can do it you can get some pretty swanky jobs, looks like a bitch to debug though and in my current job I've got very little excuse to learn .NET outside of writing some sample apps for our SDK.

Figured it out in the end though

WPF is nice, I like it a lot. It's pretty hard to get your head wrapped around bindings at first (and all the explanations I could find are quite bad), but once you got that figured out it is relatively simple.

I think I used some Win32 years ago when I was a horrible programmer still. What little I can remember of it is pretty damn ugly...
If you have a good reason to disagree with the above, please tell me. Thank you.
Saumure
Profile Joined February 2012
France404 Posts
August 14 2013 16:26 GMT
#6842
Hi guys, I have a question about MatLab.
I need to get a variable from a .m file so that I can use it in another file (the variable is changing over time). Can someone help me? I tried out a lot of stuff and used google ofc but nothing worked really...
enigmaticcam
Profile Blog Joined October 2010
United States280 Posts
Last Edited: 2013-08-14 17:18:17
August 14 2013 17:14 GMT
#6843
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2013-08-14 17:24:08
August 14 2013 17:18 GMT
#6844
Question: I'm using Maven and java to write some tests.

I have a class in src/test/java and src/main/java
The one in src/test/java imports from src/main/java
Then I tried to have the class in src/main/java also use the one in src/test/java


When I tried to run this in eclipse just using testng, it worked.
But then I tried to run in maven and it kept saying that my class in src/test/java did not exist.

Are you supposed to have tests depend on resources and never the other way around?

On August 15 2013 01:26 Saumure wrote:
Hi guys, I have a question about MatLab.
I need to get a variable from a .m file so that I can use it in another file (the variable is changing over time). Can someone help me? I tried out a lot of stuff and used google ofc but nothing worked really...

Check out matlab's import function. http://www.mathworks.com/help/matlab/ref/import.html

Then tell me whether you need more help. Do you need to access the variable directly or can you create an object of a class? Can you pass the variable with a method?

If you already know how to import then I'm guessing you want to make the variable global so changes can be used instantly.

On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.

You have to learn some server side language to complement it if you want to build a site yourself.

I have no idea what good resources are.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
HardlyNever
Profile Blog Joined July 2011
United States1258 Posts
August 14 2013 20:26 GMT
#6845
On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.


I'm a front end web developer and I use html basically every day at work. If you are interested in the front end of web design, I don't see how you could get around not knowing html. It isn't that hard to learn, at least in the basic sense (you don't have to memorize what all the elements do). It is an xml language, if that means anything. You can get a CMS that spits out html and css for you, without having much knowledge of either, but you'll be pretty limited in your customization options without knowing it.

Not 100% sure what you mean by a data driven website. If you mean one that interfaces with a database, there are lots of variations for that. Knowing PHP that can translate things into SQL is a pretty common thing (to interface with SQL databases), but there are other variations.
Out there, the Kid learned to fend for himself. Learned to build. Learned to break.
one-one-one
Profile Joined November 2011
Sweden551 Posts
August 14 2013 21:35 GMT
#6846
On August 15 2013 02:18 obesechicken13 wrote:
Question: I'm using Maven and java to write some tests.

I have a class in src/test/java and src/main/java
The one in src/test/java imports from src/main/java
Then I tried to have the class in src/main/java also use the one in src/test/java


When I tried to run this in eclipse just using testng, it worked.
But then I tried to run in maven and it kept saying that my class in src/test/java did not exist.

Are you supposed to have tests depend on resources and never the other way around?


As for tests it is my opinion that the only design choice that makes sense is to design your unit test classes to be optional.
You should have build targets that don't build or run any tests. This makes for leaner and faster production releases.
This way, your resources must not depend on any test classes.

Next thing:
Eclipse and Maven integration is a funny story.
I would recommend that you first set up your project to be Maven only, then use Eclipse's method to import existing Maven projects. In a perfect world, or if your project is small, it can work well.
You'll have to post your pom.xml file so we can have a look at how you configured your Maven project.

I must warn you. If you want this to work well you might need a lot of patience before you get things to work the right way.
My recommendation is to do away with Eclipse and forget about full IDE integration. In my experience it works better if
you just let Maven work on its own. You'll have to spend a little more energy on setting up a comfortable programming environment and learning another IDE than Eclipse.

Eclipse is slow, buggy and never holds up to what it promises to do. It represents everything that is bad with JAVA.

http://www.youtube.com/watch?feature=player_embedded&v=1BFY4R7IIP4#t=1710s
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
August 14 2013 21:44 GMT
#6847
On August 15 2013 06:35 one-one-one wrote:
Eclipse is slow, buggy and never holds up to what it promises to do.

My thoughts exactly.

Also agree on the test part, nothing should ever depend on tests. It's both conceptually and practically bad.
If you have a good reason to disagree with the above, please tell me. Thank you.
berated-
Profile Blog Joined February 2007
United States1134 Posts
Last Edited: 2013-08-15 00:25:08
August 15 2013 00:15 GMT
#6848
On August 15 2013 06:35 one-one-one wrote:
Show nested quote +
On August 15 2013 02:18 obesechicken13 wrote:
Question: I'm using Maven and java to write some tests.

I have a class in src/test/java and src/main/java
The one in src/test/java imports from src/main/java
Then I tried to have the class in src/main/java also use the one in src/test/java


When I tried to run this in eclipse just using testng, it worked.
But then I tried to run in maven and it kept saying that my class in src/test/java did not exist.

Are you supposed to have tests depend on resources and never the other way around?


As for tests it is my opinion that the only design choice that makes sense is to design your unit test classes to be optional.
You should have build targets that don't build or run any tests. This makes for leaner and faster production releases.
This way, your resources must not depend on any test classes.

Next thing:
Eclipse and Maven integration is a funny story.
I would recommend tha you first set up your project to be Maven only, then use Eclipse's method to import existing Maven projects. In a perfect world, or if your project is small, it can work well.
You'll have to post your pom.xml file so we can have a look at how you configured your Maven project.

I must warn you. If you want this to work well you might need a lot of patience before you get things to work the right way.
My recommendation is to do away with Eclipse and forget about full IDE integration. In my experience it works better if
you just let Maven work on its own. You'll have to spend a little more energy on setting up a comfortable programming environment and learning another IDE than Eclipse.

Eclipse is slow, buggy and never holds up to what it promises to do. It represents everything that is bad with JAVA.



What? ... the java hate is just so overdone.

I don't think that you necessarily need to setup your project to be maven only, sure it would eliminate the issue because well... you wouldn't even be running the tests with the testng plugin. But regardless of what people try to say, eclipse is a great ide and works well when you understand what its trying to do.

The reason that you are experiencing the issues is because of the differences of maven and eclipse. Maven is a full build tool, but eclipse tries to circumvent some of the lifecycles and use their own compilation methods. m2e has come along way but its still not perfect. When setting up the classpath for eclipse it includes all of your dependencies which gives you a false sense of working.

If you think about the maven lifecycle, I don't think what you are talking about makes a lot of sense. Sure it makes sense for your test resources to be able to access your source resources, that's the whole point of testing. When you are compiling your code thought in the compile phase it hasn't even tried to process the test files yet.

After the tests are run, that's about the extent that those classes get to exist. When you are packaging your project (jar or war), the test sources won't even be included in the package. They are even compiled to separate places (target/classes vs target/test-clasess)
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
August 15 2013 01:38 GMT
#6849
Thanks guys
On August 15 2013 02:18 obesechicken13 wrote:
Question: I'm using Maven and java to write some tests.

I have a class in src/test/java and src/main/java
The one in src/test/java imports from src/main/java
Then I tried to have the class in src/main/java also use the one in src/test/java


When I tried to run this in eclipse just using testng, it worked.
But then I tried to run in maven and it kept saying that my class in src/test/java did not exist.

Are you supposed to have tests depend on resources and never the other way around?

Show nested quote +
On August 15 2013 01:26 Saumure wrote:
Hi guys, I have a question about MatLab.
I need to get a variable from a .m file so that I can use it in another file (the variable is changing over time). Can someone help me? I tried out a lot of stuff and used google ofc but nothing worked really...

Check out matlab's import function. http://www.mathworks.com/help/matlab/ref/import.html

Then tell me whether you need more help. Do you need to access the variable directly or can you create an object of a class? Can you pass the variable with a method?

If you already know how to import then I'm guessing you want to make the variable global so changes can be used instantly.

Show nested quote +
On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.

You have to learn some server side language to complement it if you want to build a site yourself.

I have no idea what good resources are.


Code academy and coursers have html5 courses.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
KurtistheTurtle
Profile Blog Joined December 2008
United States1966 Posts
August 15 2013 05:38 GMT
#6850
Hey! So I just passed the OCJAP7 exam (java associate) today. Coming from little to no cs knowledge 6 months ago, I'm feeling good

However, I know that I'm still missing out on a lot of java stuff. There are still some areas I want to look into to kind of round out my knowledge of the language:

- Networking
- Serialization
- Annotation
- (Not entirely java-centric) Database relations...SQL, nosql, relational algebra and all that etc
- And of course...lambdas. those look cool

Any other things you guys recommend?

Also, I want to drill TDD into myself from the start. Any recommendations on books or other resources?
“Reject your sense of injury and the injury itself disappears."
Tobberoth
Profile Joined August 2010
Sweden6375 Posts
August 15 2013 06:44 GMT
#6851
On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.

HTML takes no time to learn, it's dead simple. Just search on google, find some decent tutorials and you're green.

If you want to make a modern web site, especially if it's data driven, you definitely need to know a server-side language as well. Which one you go for is up to you, here's some options: PHP, ASP.NET, Ruby on rails, Django. node.js.
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
August 15 2013 06:53 GMT
#6852
On August 15 2013 15:44 Tobberoth wrote:
Show nested quote +
On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.

HTML takes no time to learn, it's dead simple. Just search on google, find some decent tutorials and you're green.

If you want to make a modern web site, especially if it's data driven, you definitely need to know a server-side language as well. Which one you go for is up to you, here's some options: PHP, ASP.NET, Ruby on rails, Django. node.js.

Is he asking about HTML5 or just HTML?
Average means I'm better than half of you.
Shikada
Profile Joined May 2012
Serbia976 Posts
August 15 2013 06:55 GMT
#6853
On August 15 2013 14:38 KurtistheTurtle wrote:
Hey! So I just passed the OCJAP7 exam (java associate) today. Coming from little to no cs knowledge 6 months ago, I'm feeling good

However, I know that I'm still missing out on a lot of java stuff. There are still some areas I want to look into to kind of round out my knowledge of the language:

- Networking
- Serialization
- Annotation
- (Not entirely java-centric) Database relations...SQL, nosql, relational algebra and all that etc
- And of course...lambdas. those look cool

Any other things you guys recommend?

Also, I want to drill TDD into myself from the start. Any recommendations on books or other resources?


You definitively need to learn all of that, though java might not be the best language to learn lambdas in. Scheme is by far the best for that, but since you're new to programming, I guess you probably want to stick to java for now (lambdas are coming soon in version 8).

A must read for any serous java dev:
http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683

Seriously, learn this book by heart, your future collages will thank you for it.

The best book to learn TDD that I know of is:
http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627

It's about TDD practice in general, but I'm sure that you'll appreciate that all the examples are in java. If this is too involved for you there are other books about TDD in java, even from this year. An quick amazon search will net you good results
]343[
Profile Blog Joined May 2008
United States10328 Posts
August 15 2013 06:58 GMT
#6854
I have a pretty general question about OOP (but more specifically Java, since maybe strong typing and single-inheritance make a difference here?)

Say I have class A containing something of class X, and a subclass A1 of A which must contain a subclass X1 of X. What's a good way of structuring this?

I ran into this in two separate occasions: once, I wanted to use the Builder pattern in both class A and its subclass A1. Naively, you could have A1Builder extend ABuilder, but then to actually build an object of type A1, you have to do something like
( (A1Builder) new A(ABuilder(z1).withZ2(z2).withZ3(z3)) ).withZ4(z4).build()
which is pretty ugly.

There are some solutions suggested here which seem ok, but sort of messy.

On the second occasion, I had some classes (A superclass A1, A2, ...) which contain both backend model stuff and frontend Swing stuff (don't ask, I didn't write it ) and wanted to separate these out so that A contains a "data wrapper"/"transport object" of type X, A1 contains a transport object of type X1, etc. But then if I give A an instance of X as an instance variable, the only way it seems that I could extract an X1 out of A1 is to do an unchecked cast somewhere inside A1 from the X into the X1; that leaves a bad taste in my mouth, but it seems like Java just isn't equipped to do that kind of thing? Or am I missing something?
Writer
KurtistheTurtle
Profile Blog Joined December 2008
United States1966 Posts
August 15 2013 07:20 GMT
#6855
On August 15 2013 15:55 Shikada wrote:
http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683

Seriously, learn this book by heart, your future collages will thank you for it.

It's sitting on my desk right now! First I want to get through the rest of one of my intro to java books so I get some guided gui and networking practice in, then I'm gonna hop around in Code Complete. Maybe by then I'll be able to understand what effective java is actually saying :p

The best book to learn TDD that I know of is:
http://www.amazon.com/Growing-Object-Oriented-Software-Guided-Tests/dp/0321503627

It's about TDD practice in general, but I'm sure that you'll appreciate that all the examples are in java. If this is too involved for you there are other books about TDD in java, even from this year. An quick amazon search will net you good results

Since you recommended effective java, I'll definitely go with your recommendation on this one too. Thanks!
“Reject your sense of injury and the injury itself disappears."
Tobberoth
Profile Joined August 2010
Sweden6375 Posts
Last Edited: 2013-08-15 07:24:09
August 15 2013 07:22 GMT
#6856
On August 15 2013 15:53 WolfintheSheep wrote:
Show nested quote +
On August 15 2013 15:44 Tobberoth wrote:
On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.

HTML takes no time to learn, it's dead simple. Just search on google, find some decent tutorials and you're green.

If you want to make a modern web site, especially if it's data driven, you definitely need to know a server-side language as well. Which one you go for is up to you, here's some options: PHP, ASP.NET, Ruby on rails, Django. node.js.

Is he asking about HTML5 or just HTML?

HTML5 is HTML. Why would he learn HTML4 when HTML5 is an official standard? I mean, it's not like people ask "Is it worth learning .NET 2.0?". If you learn .NET, you learn .NET, and you obviously learn the latest version.
tec27
Profile Blog Joined June 2004
United States3701 Posts
Last Edited: 2013-08-15 07:24:16
August 15 2013 07:23 GMT
#6857
On August 15 2013 15:58 ]343[ wrote:
I have a pretty general question about OOP (but more specifically Java, since maybe strong typing and single-inheritance make a difference here?)

Say I have class A containing something of class X, and a subclass A1 of A which must contain a subclass X1 of X. What's a good way of structuring this?

I ran into this in two separate occasions: once, I wanted to use the Builder pattern in both class A and its subclass A1. Naively, you could have A1Builder extend ABuilder, but then to actually build an object of type A1, you have to do something like
( (A1Builder) new A(ABuilder(z1).withZ2(z2).withZ3(z3)) ).withZ4(z4).build()
which is pretty ugly.

There are some solutions suggested here which seem ok, but sort of messy.

On the second occasion, I had some classes (A superclass A1, A2, ...) which contain both backend model stuff and frontend Swing stuff (don't ask, I didn't write it ) and wanted to separate these out so that A contains a "data wrapper"/"transport object" of type X, A1 contains a transport object of type X1, etc. But then if I give A an instance of X as an instance variable, the only way it seems that I could extract an X1 out of A1 is to do an unchecked cast somewhere inside A1 from the X into the X1; that leaves a bad taste in my mouth, but it seems like Java just isn't equipped to do that kind of thing? Or am I missing something?

You could probably accomplish what you want using some combination of generic parameters, but it sounds like a rather complex inheritance situation that should generally be avoided. If A1 can be used *only* with X's of type X1, are they really a separate entity? If they are, perhaps A should be defined as
class A<T extends X>
and A1 as
class A1 extends A<X1>

But yeah, it seems very strange to me to want such a more specific type like that in the subclass, although it could just be the very generic description preventing me from seeing what's actually happening
Can you jam with the console cowboys in cyberspace?
KurtistheTurtle
Profile Blog Joined December 2008
United States1966 Posts
August 15 2013 07:26 GMT
#6858
Actually, I'm gonna go give Effective Java another shot right now before bed. Might actively read it tomorrow if I grasp more this time
“Reject your sense of injury and the injury itself disappears."
sob3k
Profile Blog Joined August 2009
United States7572 Posts
August 15 2013 07:28 GMT
#6859
OK calling CSS men!

I'm working on a drop down type menu. Its basically some stacked Divs that then drop down and unstack when you hover over the top one with transitions.

I got it to work but then when you slide your mouse down the menu they wont stay out. I made this all from scratch so its a bit wierd.

Here is the html:
+ Show Spoiler +
[image loading]


And here is the CSS:
+ Show Spoiler +
[image loading]
^This is just my divs
[image loading]
^These are to try to keep the menu open when you mouse down it. I can get it to stay open when you mouse over the first div, and the second div, but when you go over the third one the 2nd one hides.


Anyone help me out or suggest a much better way to do this?

HERE is the little project if you wanna help me and see my cool menu.
In Hungry Hungry Hippos there are no such constraints—one can constantly attempt to collect marbles with one’s hippo, limited only by one’s hippo-levering capabilities.
WolfintheSheep
Profile Joined June 2011
Canada14127 Posts
August 15 2013 07:37 GMT
#6860
On August 15 2013 16:22 Tobberoth wrote:
Show nested quote +
On August 15 2013 15:53 WolfintheSheep wrote:
On August 15 2013 15:44 Tobberoth wrote:
On August 15 2013 02:14 enigmaticcam wrote:
What's the consensus for HTML5? Is it worth learning? How does it work when the website is data driven? Do you have to learn some other server side language to support server operations? Are there are good resources out there (books, online tutorials, etc) for learning HTML5? I know I can google that last part, which I have and am learning what I can, but I'd like to know what others' personal experiences are with learning or having learned it.

HTML takes no time to learn, it's dead simple. Just search on google, find some decent tutorials and you're green.

If you want to make a modern web site, especially if it's data driven, you definitely need to know a server-side language as well. Which one you go for is up to you, here's some options: PHP, ASP.NET, Ruby on rails, Django. node.js.

Is he asking about HTML5 or just HTML?

HTML5 is HTML. Why would he learn HTML4 when HTML5 is an official standard? I mean, it's not like people ask "Is it worth learning .NET 2.0?". If you learn .NET, you learn .NET, and you obviously learn the latest version.

Because quite a few people learned HTML before HTML5 was even on the drawing boards...
Average means I'm better than half of you.
Prev 1 341 342 343 344 345 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 58m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 193
StarCraft: Brood War
Sea 8806
Larva 669
PianO 625
Pusan 288
ggaemo 263
Hyun 233
Soma 145
Killer 69
HiyA 15
Noble 9
[ Show more ]
Sacsri 0
Dota 2
XcaliburYe206
febbydoto11
League of Legends
JimRising 485
Counter-Strike
Stewie2K1440
Super Smash Bros
amsayoshi33
Mew2King9
Heroes of the Storm
Khaldor162
Other Games
summit1g11659
singsing1505
SortOf97
Organizations
Other Games
gamesdonequick740
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH415
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos681
Upcoming Events
Sparkling Tuna Cup
1h 58m
SC Evo League
3h 58m
Chat StarLeague
7h 58m
Razz vs Julia
StRyKeR vs ZZZero
Semih vs TBD
Replay Cast
15h 58m
Afreeca Starleague
1d 1h
Queen vs HyuN
EffOrt vs Calm
Wardi Open
1d 2h
RotterdaM Event
1d 6h
Replay Cast
1d 15h
Afreeca Starleague
2 days
Rush vs TBD
Jaedong vs Mong
Afreeca Starleague
3 days
herO vs TBD
Royal vs Barracks
[ Show More ]
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
LiuLi Cup
5 days
Cosmonarchy
5 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
5 days
Team Hawk vs Team Dewalt
BSL Team Wars
5 days
Team Hawk vs Team Bonyth
SC Evo League
6 days
[BSL 2025] Weekly
6 days
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Disclosure: This page contains affiliate marketing links that support TLnet.

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.