Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27737

Re: Javascript needed to work in tandem with a backend

From Tim Streater <timstreater@greenbee.net>
Newsgroups comp.lang.javascript
Subject Re: Javascript needed to work in tandem with a backend
Date 2015-05-18 18:50 +0100
Message-ID <180520151850365420%timstreater@greenbee.net> (permalink)
References <cfe30f66-74a1-4a03-890a-5914e9e2aff7@googlegroups.com> <XnsA497D1A397B80eejj99@194.109.133.246> <ec1d667a-8b16-4529-a1d7-22afc37e8300@googlegroups.com> <mj1rv1$j9v$1@dont-email.me> <d579b356-f9b3-4a0b-acd2-b5d94b29766f@googlegroups.com>

Show all headers | View raw


In article <d579b356-f9b3-4a0b-acd2-b5d94b29766f@googlegroups.com>,
<bit-naughty@hotmail.com> wrote:

>Heh, you may not be an expert, but you sure were of great help to ME! :)
>Thanks! :)
>
>I'm actually quite used to this type of behaviour, encountered it on other
>places I go to, but I've learned not to let people like evertjan get to me.
>Sour bastard.
>
>I think you're going to have to hold my hand a bit more about the x.onclick
>stuff though. 
>Suppose my menu (the one that's going to show up when the box is clicked), is
>like this:
>
><div>
><a href="">Click here to search Yahoo for blue boxes</a>
></div>

Well now, that's not a menu, is it? It's just a clickable link. D'ye
want a drop-down menu here? If so you need a <select> probably inside a
<form>. I don't know whether you want a static menu (by which I mean it
doesn't change during the life of the application) or whether you need
to load it up with stuff read from a database.

>The href= will be filled in by the *server side PHP*, am I right?

If you code it up to do that. Or you can use clientside javascript to
assign something to the href property.

>Oh, and what's the opposite of "visibility"? Like, how do I *show* something?

Why don't you google for such as "html visibility" or "css visibility"?
Mostly stuff is visible by default and you have to explicitly hide it.

-- 
"Please stop telling us what you feel. Please stop telling us what your 
intuition is. Your intuitive feelings are of no interest whatsoever, 
and nor are mine. I don't give a bugger what you feel, or what I feel. 
I want to know what the evidence shows."             -- Richard Dawkins

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Javascript needed to work in tandem with a backend bit-naughty@hotmail.com - 2015-05-11 11:00 -0700
  Re: Javascript needed to work in tandem with a backend "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-11 20:36 +0200
    Re: Javascript needed to work in tandem with a backend bit-naughty@hotmail.com - 2015-05-13 10:35 -0700
      Re: Javascript needed to work in tandem with a backend "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-05-13 22:54 +0200
      Re: Javascript needed to work in tandem with a backend danca <cyberdanny@tiscalinet.it> - 2015-05-14 12:05 +0200
        Re: Javascript needed to work in tandem with a backend bit-naughty@hotmail.com - 2015-05-18 10:32 -0700
          Re: Javascript needed to work in tandem with a backend Tim Streater <timstreater@greenbee.net> - 2015-05-18 18:50 +0100
          Re: Javascript needed to work in tandem with a backend danca <cyberdanny@tiscalinet.it> - 2015-05-19 19:00 +0200
            Re: Javascript needed to work in tandem with a backend bit-naughty@hotmail.com - 2015-05-21 06:30 -0700
  Re: Javascript needed to work in tandem with a backend danca <cyberdanny@tiscalinet.it> - 2015-05-13 10:50 +0200

csiph-web