hey all,
i got a web app. now after everything is done. i wanna put target attribute to blank. this is what is happening on the login page. there is tables and form tags and form action is directing towards another mysql page which verify the pass/login. now i m confused as where to put the target attribute?
thanks in advance
The HTML ‘_blank’ value renders the response in a new, unnamed window and is usually concerned with frames are you wanting the results in a frame? You shouldn’t need a ‘_blank’. Thought it would be; <FORM TARGET=“_blank” …>
no frames. just table tagts and form.
ok i just figured out after what u told e that i need to add JavaScript to it. so that when a person click the submit button, everything else open up in a popup.
Question is, why is everything else opening in a popup?
What if the user has a popup blocker on their browser? My browser blocks many popups by default, and I have not installed anything special for blocking popups.
Is there a reason you don’t do what SitePoint does, for example?
its a client side requirment. the web app has got documentation which explain pop ups. though i would be thankful if u help me out
If it’s Javascript I prolly can’t, lawlz.
However you should be aware you may have a substantial? number of people who can’t get the app to work the way they expect.
I know for sure that the browser-based Javascript function popup() is naturally blocked by my browser (again, I have not installed any special, specific popup blockers). “Lightboxes” on the other hand are not blocked by any of my browsers so long as I have JS enabled.
Also, once you get it working, you may want to test to see if the page works in browsers that automatically turn new windows or popups into a new tab instead (something most tabbed browsers let you set up).
But if you’ve chosen your JS and have issues, the javascript forum has lots of gurus running around over there.
thanks poes. i am aware of the facts you told me. however i am illetrate in JS too, though i m begining to learn it,
(off topic : btw what skills should a web developer should know?)
i have posted this topic is JS forum, lets hope i get a reply soon
[ot]Hm, a web developer needs whatever skills needed to do a particular job.
I’m a front-ender, so I do HTML and CSS, and am learning Javascript because I need to and it belongs on the front end anyway. Knowing an image-editing program is nice (I use GIMP). For some, Flash/Actionscript is a necessary front-end skill.
Many “web developers” do back-end stuff too, in which case you’d need to know
-a back-end language (you’re learning PHP)
-stuff about servers, Apache if you use it, mod_rewrite : )
-XML may be likely (also can be for front-enders)
-XSLT
-JSON
again it depends on what you need to do for your job or your client… you see around here the broad spectrum of skills as people do all sorts of things[/ot]
i m front ender too.i wanna enchance my skills, though whatever i am, i learnt in myself over time as no insitute r here to teach these stuff i m really looking for a pathway to enchance my skills so i know the very best of my ‘job title’
[ot]People who learn in the real world may have an advantage over anyone learning at a school… I believe most of us here are “self-taught”, not from university. : )
I was forum-taught. [/ot]
Everything client side is under the control of the visitors to the site. It is they and not you who decide what opens in a new window, what in a new tab and what overwrites the current page. That is why the target attribute was declared dead back when HTML 4 became the standard over 10 years ago.
The only way you can get some control is if you make it a part of the same web page rather than starting a new page (and your visitors can bypass even that by turning off JavaScript).
didn’t get what u said
Your visitors can ignore you and make their own choice as to what will and will not open in a new window.
The most user friendly choice is to not try to open a new window and leave it to them if they want to do so.
i know. but for now i would appreciate if u can helo me with what i need
I think you have already got the answer how to apply target to a form action. I.e if you haven’t decided for javascript.
(I believe the word thought was a typo for though)
Full tag would be:
<form target="_blank" method="post" action="*">
Yes, Erik it was “Though” I am dyslexic and make tons of typos and grammar errors (every day) but well-spotted. Therefore typically I misread my own posts so have issues correcting them - but usually can spot other peoples typo. mistakes, etc. Just one of those strange things.
Luckily though, I usually get my x(ht)ml syntax correct and that’s what typically counts.