Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
dinesh
@1532j0004kg
as well as local strategy
Stephen James
@sjames1958gm

@puneethnviraat You can do something like this

    <button onclick=" namesDetails(document.getElementById('name').value);return false;">Enter name</button>

if your onclick returns false then the default behavior is blocked

h1tag
@h1tag
@puneethnviraat sorry, disregard my answer, it doesn't work
DarkxPunk
@DarkxPunk
Good day everyone!
h1tag
@h1tag
@puneethnviraat nvm, the answer from stackoverflow works or what Stephen said
@DarkxPunk hello!
LydaTech
@lydatech
so i have a div with a <video> in it. The div takes up 60vh and 100vw.i cant get the video to go full width and clip the bottom to contain in the div. Any ideas? Is that clear?
Sorin Ruse
@sorinr
@lydatech so you need the video to be both 100vw and 60vh no matter the aspect ratio of the video?did i got it right?
Kaz Baig
@kbaig
@lydatech any chance you could stick it in a pen? might help to visualize it
LydaTech
@lydatech
@sorinr yes to the 100vw it can clip the bottom or top ect but has to fill the parent div
@kbaig problem is the size of the video
Sorin Ruse
@sorinr
@lydatech can you help us with an external video link as an example?
LydaTech
@lydatech
yep give me a minute ill set it up
Sorin Ruse
@sorinr
ok. want to achive something similar to https://videos.pexels.com/ ?
LydaTech
@lydatech
@sorinr YES! lol
Sorin Ruse
@sorinr
take a look at http://www.coverr.co/
@lydatech especially the "How to use" part on the bottom of the page
LydaTech
@lydatech
@sorinr awesome. Ill check it out. Thank you
CamperBot
@camperbot
lydatech sends brownie points to @sorinr :sparkles: :thumbsup: :sparkles:
:star2: 1403 | @sorinr |http://www.freecodecamp.org/sorinr
Sorin Ruse
@sorinr
@lydatech :+1:
LydaTech
@lydatech
@sorinr That was exactly what I needed
Sorin Ruse
@sorinr
@lydatech glad i could help.
DarkxPunk
@DarkxPunk
So community I was working last night on a pure css system for hide and show and have been trying to overcome some hurdles. Anyone wanna have a look and provide some feedback?
Sorin Ruse
@sorinr
share the link
There are two systems here, one using radio and :checked the other :target
I am leaning more on the target system because it lets me link anywhere in the page quite easily.
First issue I overcame (kinda) was having the first input data to appear when the page loads and disappear when the other data is targeted
Though I had to flip the data order XD
Sorin Ruse
@sorinr
@DarkxPunk try some transition effects
DarkxPunk
@DarkxPunk
Well right now I am not looking for appearance more just versatility
Nate Mallison
@NJM8
I have a question for those that have completed the wikipedia viewer. How did you deal with the random api being completely different from the search api
Corey Lewis
@cursiv3
I hooked the route for the random one into it
it's own button if I remember correctly
Nate Mallison
@NJM8
I've got my page pretty much done except the random part.
I could easily just make a button to open a new random page. But it would be nice to get it integrated into my style and display 8 random pages
but the api call is really different, so I assume the data back will be as well.
Corey Lewis
@cursiv3
Yeah I just had that link open to a random page, didn't try to return a random list
you could just query a random word API and put that into your search param for the normal wiki api query
Nate Mallison
@NJM8
I was thinking of that too, that's a good idea
Yup, going to go that route, one or two more simple functions and it's done. I don't want to kill myself on this thing.
Corey Lewis
@cursiv3
That's the best way for everything really haha
I had so many times where I did something clever and came back to it a month or two later and was just so confused as to what I'd done
Nate Mallison
@NJM8
Yeah, it doesn't help that I couldn't figure out the media wiki api (not great documentation imho), so I stole someone else's api call and make my app work around it. It still get's exactly what I wanted. Just not sure how to get something different working
I don't know why the media wiki's docs look like greek to me. I've done several other projects to with various api's no problem.
Corey Lewis
@cursiv3
well if it makes you feel better I did that like a year ago but VIVIDLY remember the frustration of trying to figure out how the hell to use it
luckily pretty much every other API is pretty straightforward and well documented heh
niniyzni
@niniyzni
  • when I click id ="edit" a modal popup opens up.
  • in that popup there is a text box.
  • when I enter some value, it should update in the select drop down menu.
  • not sure how to do it providing my code below.
http://jsfiddle.net/t0thcho8/
  $("#edit").click(function() {
     alert("I am here");

     $("#win1Edit").show().kendoWindow({
       width: "300px",
       height: "500px",
       modal: true,
       title: "Window 1"
     });
   });

   $("#win1Submit").click(function() {
     alert("win1Submit I am here");
   });
Stephen James
@sjames1958gm
@niniyzni If there is an input element you can hang on the on change event and get the value of the input element