473,396 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to open page in Same Window?

How to open A page in Different Tab But In same Window.....? Could Any One Tell me.........?


Please.
Mar 10 '11 #1
2 4979
dgreenhouse
250 Expert 100+
There is no "cross browser" way to specifically target "tabs."

You CAN specify that a link opens in a blank window.

If the user has configured their browser to open new windows as tabs, then that will happen.
i.e. <a href="xyz" target="_blank">Link text</a>

If you want to have absolute control, use frames or divs with css changes (visibility, display, or vertical position) .
Mar 10 '11 #2
I'v used a button and by onclick event i'd open a new windowas below....

<input type="submit" value="Additional Parts" <?php if(!$AddiButtonvisible) {?> style="display:none" <?php } ?> onClick="AdditionalParts()" >

And I used The javascript Function Below.......


function AdditionalParts()
{
win1 = window.open('AddiPartsSearching.php', 'newwindow', config='height=480, width=480, left=50, top=60, toolbar=yes, scrollbars=yes, resizable=yes')
win1.focus();
}


So is It Possible To use Target In such a case........?
What should Use to open a new page in same window but in different tab.......?
and also how to pass a value to that new page? it is important that all these have to done by clicking a button only.

please help me.
Mar 11 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dena Leiter | last post by:
I want to send people to a new page using a redirect but I want a new window to open. Is this possible? I've tried this: <meta http-equiv="refresh"...
44
by: Carlos Andr?s | last post by:
Hi everybody. I've got a problem. I'd like to avoid opening a new window when you have pressed the shift key and you click in the left button of the mouse. I've tried the next solution, in the...
1
by: Danny | last post by:
hi, lately i've been working on a website and i have used a bit of javascript although i'm not an expert in this mather. On the page there are 3 thumbnails and when you click on a thumbnail a...
8
by: Kim14 | last post by:
Help! I am trying to create a webpage and it would be obvious to anyone who reads my source code (it's a mess) that I created it using a template. I know almost nothing about webpages, but am...
5
by: k.vanderstarren | last post by:
Hi All, I'm having a problem that is driving me absolutely batty and I'm hoping that one of you JavaScript gurus can help me out before I go stark raving mad. I am using the function shown...
3
by: Bonzol | last post by:
Vb.Net 2003, 1.1. Web application. Hey there I have this, Response.Redirect("FileFiew.aspx") to go to a new page, but how do I open that page in a new window? So I will have 2 pages...
1
by: Dukster131 | last post by:
I am writing a javascript function that will go to a different page when a specific menu item is chosen. the function now works with the following: ...
1
by: coolsidsin | last post by:
I have a apsx form (Form A), which on submiting does a time consuming task. So i want to open a new aspx window (Form B) in which I want do do that time consuming task and show progress to the user...
1
by: akiran80 | last post by:
Hi All, iam using IE 6 with SP2 patch. when am tryig to open text(spreadsheet format data) it is opening in same window. expected behaviour is it should ask for open or save option once iclick...
0
by: helplakshmi | last post by:
I want to print a page from another page. I have a master page with links to other page. When I click "print," it should print the another page. The function window.print() is printing only the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.