i m having the same problem as in the below code.... when user clicks on the links in the left hand column it opens link page in new tab, instead in the content section,
i want the content of the link, which user has clicked should appear in the right hand side content area....
also what link is clicked should appear in the url
it is possible through AJAX and JAVASCRIPT but i m not getting how to do that...
First, you don't need the HEAD and BODY in jsFiddle -- the content of
the `HTML` pane is automatically wrapped in the <BODY> tag. So
http://jsfiddle.net/DbWhE/1/ is your starting point.
But you don't even have any JS in the `JavaScript` pane? What have you
tried? Have you gone through the MooTorial and the examples on the
Moo site for Request.HTML? I'd like to help, but I don't feel
comfortable doing *all* the work. Is this your first exposure to JS?
i know just basic about the javascript i.... so its new to me... if u help me how to do it .... or which functions or methods i have to use it it will much helpful....
On Thursday, 5 July 2012 10:18:21 UTC+5:30, Sanford Whiteman wrote:
> First, you don't need the HEAD and BODY in jsFiddle -- the content of > the `HTML` pane is automatically wrapped in the <BODY> tag. So > http://jsfiddle.net/DbWhE/1/ is your starting point.
> But you don't even have any JS in the `JavaScript` pane? What have you > tried? Have you gone through the MooTorial and the examples on the > Moo site for Request.HTML? I'd like to help, but I don't feel > comfortable doing *all* the work. Is this your first exposure to JS?
> i know just basic about the javascript i.... so its new to me... if u help
> me how to do it .... or which functions or methods i have to use it it will
> much helpful....
Sanford Williams.... i have gone through the example you have linked.... but i doesn't gave me any hint of how to relate it to my problem.... further help would be appreciated...
On Friday, July 6, 2012 3:24:55 AM UTC+5:30, Sanford Whiteman wrote:
> > i know just basic about the javascript i.... so its new to me... if u > help > > me how to do it .... or which functions or methods i have to use it it > will > > much helpful....
Sanford Whiteman please help me with this issue.... i got stuck on
this problem since long time....
i have gone through the link you have given... but it doesn't help
me... could you help me with it....
i will be very thankful to you.....plz... my project submission time
is near... and i got stuck on this just one
problem ....so please help me......
On Jul 6, 2:54 am, Sanford Whiteman <sa...@figureone.com> wrote:
> > i know just basic about the javascript i.... so its new to me... if u help
> > me how to do it .... or which functions or methods i have to use it it will
> > much helpful....
All those links have examples. You could try to put something together in
the JavaScript field in the JSFiddle and post it back so we can help you a
bit further.
As you have not tried any JavaScript yet, I guess you might learn some
JavaScript/programming basics first. Good resources can be found all over
the internet, for example:
On Tue, Jul 10, 2012 at 10:54 PM, alto <a.dharmend...@gmail.com> wrote:
> Sanford Whiteman please help me with this issue.... i got stuck on
> this problem since long time....
> i have gone through the link you have given... but it doesn't help
> me... could you help me with it....
> i will be very thankful to you.....plz... my project submission time
> is near... and i got stuck on this just one
> problem ....so please help me......
> On Jul 6, 2:54 am, Sanford Whiteman <sa...@figureone.com> wrote:
> > > i know just basic about the javascript i.... so its new to me... if u
> help
> > > me how to do it .... or which functions or methods i have to use it it
> will
> > > much helpful....
Alto, there's a disconnect here between your current skills and your
approach to this project -- I think you should be building client (?)
work using full-page loads (non-Ajax) for now and learning JS on the
side. I know it can be very helpful to have a real-world assignment to
force you to learn, but in any case asking us to do it for you isn't
learning.
Arian Stolwijk n Sanford Whiteman ..... its not because i dont want
to learn or i dont want to write the code
by myself.... i have been searching for this problem and at the end i
didnt come with any solution ...and also because of
time limit i have to do it as early as possible....... but thanks for
ur suggestions ....
On Jul 11, 2:23 am, Sanford Whiteman <sa...@figureone.com> wrote:
> Alto, there's a disconnect here between your current skills and your
> approach to this project -- I think you should be building client (?)
> work using full-page loads (non-Ajax) for now and learning JS on the
> side. I know it can be very helpful to have a real-world assignment to
> force you to learn, but in any case asking us to do it for you isn't
> learning.
Look at Arian's elaborate description of your problem. He divided it
in steps and there's links to the related documentation pages. If you
can't work this out, I have agree with Sanford, and you should not
worry about these kinds of things (or use ready-made plugins), before
trying to create this yourself.
I tried to find a way to explain this in an easier way, but really...
the description Arian gave is all there is to it. It's literally one
line of code for each of the steps he mentioned, can't get easier than
that. So, this is against most of my principles, but just to get it
over with:
I hope you'll do more than just copy and paste that, and try to learn
from it. The only change I made was wrapping it inside a "domready"
event handler.
And I hope that the next time you have a question, you'll be able to
show us what you learnt, and give us some javascript to work with.
super nice and probably won't even get appreciated. you are just
feeding the culture of instant gratification through search and the
work of other people instead of doing something from scratch. I
thought arian had gone too far out and nearly spelt it to him
if this were stack overflow, his question would have been closed
before he could refresh the page. I hope when 'next time' comes, he
messages you directly :)
@alto when you can't do something yourself and can't learn how to do
it, you normally pay for a specialist to do it for you. say, your car
had broken down and needed fixing. would you expect somebody from the
car manufacturer to fix it or you because you were in a hurry and
could not learn how to do it yourself in time? just because it's code
and code is 'cheap' in all but time does not invalidate the principle.
Not disagreeing... but to be as constructive as possible because I
don't like summary executions like on SO... Alto, the thing to put
under the microscope is *why* you promised to deliver a JS solution
when old-school HTML is more in your command.
What is it about delivering _and supporting_ JavaScript that compelled
you to do that? Would the client really notice? You can make some
incredible stuff with just CSS3 and HTML now, and while page refreshes
may seem so old-fashioned, in my experience non-technical clients
rarely audit you at that level. They may appraise the apparent
performance of your site, and sure Ajax *can* (but not always,
certainly) help with that. But if your site can respond snappily
(proper image/stylesheet caching, tight markup) and and looks cool,
well, that's a *big* start, even if you're generating full pages on
the server. And take another note of CSS3 -- learning those built-in
"special effects" can go a long way toward making the client think
you've done "programming" when actually you've done more like
designing and declaring effects. Even concentrating on IE8-compatible
CSS, you can do good stuff (even though you won't get smooth movements
in IE8 without JS, so be it).
FYI, even casually using JS since... a very long time ago... I didn't
promise to build any Ajax-dependent solutions until I had probably 6
months of personal dabbling first, then another 6 months of putting
stuff in production for decorative enhancement but not for drawing the
functional parts of page. Only after that did I start to feel like I
could build a site that depended on JS for mission-critical functions
-- a site where if JS is turned on in the browser, it's going to be
used and there's no way you can reach the users to turn it off. Not
because I didn't think things would work most of the time, but because
I wasn't ready for the support scramble. Remember, bugs happen. Moo
isn't without them, and there are few things as frustrating as trying
to report a bug when you don't know what the proper behavior is.
On 11 July 2012 21:13, Sanford Whiteman <sa...@figureone.com> wrote:
> Not disagreeing... but to be as constructive as possible because I
> don't like summary executions like on SO... Alto, the thing to put
> under the microscope is *why* you promised to deliver a JS solution
> when old-school HTML is more in your command.
I _strongly_ agree with the SO policy on question quality. if it's not
a code question that can be answered by fixing posted/referenced code
or answering on issues relating to code or popular frameworks, there
is no value in it being there. People come in and just lay out their
specs all the time, hoping they get a coding solution.
++ for saying it out loud. he won't be the first nor the last to bite
more than he can chew.
there's a lesson to be learnt here through failure.
-- Dimitar Christoff
> I _strongly_ agree with the SO policy on question quality.
I strongly agree with their policy for them, I just find it hard to
enforce here... there may be (longer-winded for us) but more fruitful
ways to non-answer depending on the circumstances. Shouldn't there
still be somewhere to turn for a personalized, indulgent brush-off? ;)
(Alto, don't take it too hard, Dimitar is right. Go back and start
slower. I interviewed a designer last year who said he "knew jQuery"
but didn't know what an XHR was. That turned me off bigtime and he
shouldn't have been hired -- he was hired and then fired, my fault for
not taking the warning sign more seriously. I'd rather have someone
who knew how to design a nice site and flatly admitted they never even
added a <script> tag.)