• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 07:48
CEST 13:48
KST 20:48
  • 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
Serral wins Maestros of the Game 238ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7
Community News
BSL Season 22 Full Overview & Conclusion5BSL Season 22 Full Overview & Conclusion5Weekly Cups (June 29-July 5): Solar Doubles0MC vs IdrA, Boxer vs Nal_rA to be Legacy Matches @ BlizzCon445.0.16 Hotfix (June 30) - Balance + Bug Fixes40
StarCraft 2
General
Most successful SC2 players of Q2 2026 Serral wins Maestros of the Game 2 MC vs IdrA, Boxer vs Nal_rA to be Legacy Matches @ BlizzCon Is the larve respawn broken? 5.0.16 patch for SC2 goes live (8 worker start)
Tourneys
GSL CK #5 Race War RSL Revival: Season 6 - Qualifiers and Main Event HomeStory Cup 29 Vespene Cup #1 — $300+ USD, July 10 Sea Duckling Open (Global, Bronze-Diamond)
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
Mutation # 533 Die Together The PondCast: SC2 News & Results Mutation # 532 Nuclear Family Mutation # 531 Experimental Artillery
Brood War
General
ASL 22 Proposed Map Pool ASL22 General Discussion BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BSL Season 22 Full Overview & Conclusion
Tourneys
[ASL22] Wildcard Qualifier [Megathread] Daily Proleagues IPSL Spring 2026 Top 4! CSLAN 4 is Coming!
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies
Other Games
General Games
Summer Games Done Quick 2026! General RTS Discussion Thread Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread TL Mafia Power Rank Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread YouTube Thread Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! Series you have seen recently...
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Tennis[sport] Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
FPS when play League Of Legend on laptop How to clean a TTe Thermaltake keyboard? Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Major Shifts in the Gaming I…
TrAiDoS
An Exploration of th…
waywardstrategy
Gauntlet SC2: A Retrospectiv…
Ctone23
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6886 users

The Big Programming Thread - Page 343

Forum Index > General Forum
Post a Reply
Prev 1 341 342 343 344 345 1032 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 States3702 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 1032 Next
Please log in or register to reply.
Live Events Refresh
Sparkling Tuna Cup
10:00
Weekly #137
ByuN vs SHINLIVE!
herO vs Percival
CranKy Ducklings224
CranKy Ducklings SOOP14
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Ryung 737
Rex 138
ProTech77
MindelVK 13
StarCraft: Brood War
Britney 32389
Calm 7023
Hyuk 787
Shuttle 762
Jaedong 527
Soma 334
firebathero 277
BeSt 262
Mini 237
EffOrt 192
[ Show more ]
Stork 179
Last 171
actioN 155
Soulkey 128
Horang2 123
Light 123
Mong 121
ZerO 71
hero 60
ggaemo 54
Sharp 42
ToSsGirL 40
scan(afreeca) 35
soO 32
Free 27
HiyA 26
Killer 25
sorry 24
Aegong 24
yabsab 21
Sacsri 14
ajuk12(nOOB) 13
Hm[arnc] 13
Noble 10
JulyZerg 9
Purpose 9
Dota 2
Gorgc4146
Dendi538
League of Legends
Doublelift2681
JimRising 590
Counter-Strike
x6flipin300
Sick167
kRYSTAL_14
Other Games
FrodaN2819
B2W.Neo410
Happy308
DeMusliM274
crisheroes244
Pyrionflax222
KnowMe121
Livibee95
ZerO(Twitch)9
Organizations
StarCraft 2
IntoTheiNu 254
StarCraft: Brood War
lovetv 16
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• StrangeGG 31
• Response 1
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos3338
Upcoming Events
IPSL
4h 12m
Bonyth vs Hawk
GSL
23h 12m
Monday Night Weeklies
1d 4h
Replay Cast
1d 12h
WardiTV Weekly
1d 23h
The PondCast
2 days
Replay Cast
3 days
CrankTV Team League
3 days
Replay Cast
4 days
CrankTV Team League
4 days
[ Show More ]
Replay Cast
5 days
RSL Revival
5 days
Clem vs Lambo
Scarlett vs Cure
CranKy Ducklings
5 days
RSL Revival
6 days
Classic vs Trap
herO vs SHIN
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

ASL Season 22: Wild Card Qualifier
HSC XXIX
Eternal Conflict S2 E1

Ongoing

IPSL Spring 2026
Acropolis #4
YSL S3
CSL 2026 Summer (S21)
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
Eternal Conflict S2 E2
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026

Upcoming

Escore Tournament S3: W3
ASL S22 SEASON OPEN Day 1
Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
CSLAN 4
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E3
Logitech G Connect 2026
StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
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 © 2026 TLnet. All Rights Reserved.