It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible from a users point of view, to click a button and the result to load in a new tab/window, not automatically.
Like if you middle click on a link in some browsers or right click -> Open in new tab/window.
Can you do this with a button? Or would you need a browser plugin?
Is this at all possible? I know you can make custom buttons and such but this is more out of curiosity.
Thanks.
When setting up the form, you just need to change the target:
<form action="form_action.asp" method="get" target="_blank"></form>
You can just use HTML:
<a target="_blank" href="YourAmazingURL">Click here for Amazing URL</a>
Another Example:
<a target="_blank" href="http://www.google.com/">Google</a>
This takes advantage of the target attribute.
More information on the target attribute: http://www.w3schools.com/tags/att_a_target.asp
Also: http://www.w3schools.com/html/html_links.asp
XHTML:
For XHTML, just do this:
Click here for Amazing URL
Or, again:
Google
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i need to download the HTML source code of a particular website.website is created with language asp.net.is there is any software .i don't know how to do can any one please help me.Thank you
You can't. Asp.Net is a compiled language, what you get in your browser is the output of the compiled dll's that conform the application.
In most browsers, to get the HTML, you can right click -> 'save as...' or right click -> 'show source code' -> right click -> 'save as...'.
This won't get you the asp.net source code, however, just the resulting static page.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can i show an image on whole page when user click a button?
(means i have several controls on page and want to show this image over all of them)
You can write this line in button click event
ClientScript.RegisterClientScriptBlock(GetType(), "key", "javascript: document.body.background = 'Untitled.jpg'; document.body.style.backgroundRepeat = 'no-repeat'; document.body.style.backgroundPosition = '300px 300px'; ", true);
Your looking for a Modal window, there are some great jQuery plugins for that. I really like one called Reveal.
To do it yourself. Set a "position: absolute" and a "z-index" that is higher than your other elements on a div, and trigger it to show/hide with javascript and you should be fine.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How to disable the browser back button in asp.net 4.0 on single or double click of browser?
please respond me quickly.
asp.net is a server side script and can't change anything in the browser, which is on the client side.
There is no way to do it. Becaus this functionality is build in browsers, not in you website. The only way to make a workaround is to open some window without button panels, though this won't help for all browsers.
You can send javascript back to get the behavior you want.
As the following article shows you have two options:
Open in a new window.
Use history forward to disable (to the user) the functionality.
http://viralpatel.net/blogs/disable-back-button-browser-javascript/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Firstly apologies I've re-edited this as the original was so vague.
What I have is a Drupal overlay which only displays a form. The issue is the overlay also displays the page header such as the logo and menu links. I don't want it to display this and was hoping someone could tell me how to prevent this without using CSS to hide the header div within that specific overlay, as although this is a temporary fix, is poor coding.
Thanks,
Rick
You can use drupal_get_form('form_id') to get the complete html of the form in a div and use css/js to get desired result.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
In my site there is a text area, where i want to be spell check. But this text area only display wrong word but not appear a popup for right words.
what i can do.
" Actually there is flash work on the site also. and banner to each side of the content, and that text area is in the center.. so why the pop up not displaying..??????
"
Can anyone notice this type of problem, where textarea self spell-checking popup not appear..????
At last i find, the answer why not appear the pop-up on textarea. Because on my site i restrict the user not to copy any content of page.. when i disable that js. then its working..
Now i will find another solution for it but the main problem is solved.!