Hi all,
Is there any way to remove header and footer of a html page, so that if user print it, there is no header and footer.
User can choose to remove it using print setup, but i wondering is there any css or javascript to remove it programatically?
thank you for any response.
Has there been any change in page life cycle event in asp.net 3.5(I mean some addition or any modification in the exisitng one)?
Sorry to ask in this way as because recently in an interview I have been asked by an interviewer. I dare to ask him the answer for this even after the interview!
If the asnwer is yes, kindly give some detailing about that; even a tutorial link will also do if no explicit explanation.
Thanks
I have a problem that I have been trying to figure out and haven't been able to get past it because Chrome/FireFox/IE do not publicly publish their "rules" for pop up blocking when it comes to JavaScript, Flash, etc. I am trying to trigger a window.open() when a user clicks anywhere on page. I've tried this:
document.onclick = window.open("http://msn.com");
But all 3 browsers are blocking the popup, even though it is a user interaction.
i have a page that have some control on it. i add some element with programming in code behind.
how can i this:
when i add control that is larger than its container, show Scroll?(i used ScrollViewr but i don't know size of container because it resize in Run-Time to fill Browser)
In my MasterPage, I have a ScriptManager that has a ScriptReference to my jquery.js file. This has always worked with no problems, all content pages that utilize jquery work fine.
Recently, I added the following javascript script block at the end of my MasterPage:
function pageLoad(sender, args) {
}
By simply adding the above pageLoad method, no jquery code is executed from any of my content pages. Why would just having a pageLoad in the Master Page have this effect?
Thanks in advance for any insight.
I have a site that has a mix of http and https pages. Under the root of the site, one folder has all the http pages and another has all the https pages. Login is over https and sends the user to the other pages. When a session expires the forms authentication redirects to the Login page but the browser uses http and the user gets a 403 error.
Is there any way to override the session timeout to send it to https?
hey..
i'm working on my html and javascript project and i wanted to add music for the website..
i was wondering is there anyway i can put more than one song in the code to be played, if there is please write the code
and is there anyway that the song will continue when openning the next page??
please help
thanks alot
I understand that calling the home page index.html is a convention. Is that right ?
Does this name has any special meaning (maybe for search engines) ?
I have the following two frames frame 1 with name="top" and frame 2 with name "main". Now in main there is a button called add number, which brings up a normal browser popup, in this popup I have a form that needs to be filled in and then I click submit on this form and then the main frame should reload, the form processing happens within the popup page and then after processing the main frame should refresh. The following code does not work, Am I doing something wrong?
window.opener.main.reload();
im lost here, need some help for something probably very simple:
I have embedded a swf object to play an flv file. i want the video to play as soon as the page loads rather than requiring the viewer/user to have to click the play button to see the video.
I'm not sure if it is the swf file, the script or the javascipt file that has to be edited, and with what code.
thanks
Hi, I have an iframe loading some content, and I would like it so that when anything inside the iframe is clicked (a new window pops up) but I would also like it so that the page displaying the iframe reloads, is there any way to do this without modifying anything inside the iframe?
I try to deploy my project on my distant web server. I think the sf2 installation is ok I have the app_dev.php and the config.php pages, the check.php doesn't return me any error and I set up the acl on the directories app/cache and app/logs.
but I cant have any of my pages from my controllers. If I try something like .../Symfony/web/app_dev.php/myurl I have a blank page.
What can I do? thanks in advance
I have this table I want when I click on a link in a table row that do a redirect to another page the data will be sent to the new page that can help me I have not found how to start
I'm really stuck
code table
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Date</th>
<th>provider</th>
<th>CI</th>
<th>CELL</th>
<th>BSC</th>
<th>Commentaire</th>
<th>nbr</th>
<th>Type</th>
<th><img src="{{ asset('image/Modify.png') }}" ALIGN="CENTER"/></th>
<th><img src="{{ asset('image/Info.png') }}" ALIGN="CENTER"/></th>
<th><img src="{{ asset('image/Male.png') }}" ALIGN="CENTER"/></th>
<th>type_alertes</th>
</tr>
</thead>
<tbody>
<div class="textbox">
<h2> Information KPI dégradées</h2>
<div class="textbox_content" id="kpi_dégrades">
{% for liste in listes %}
<tr class="gradeU">
<td>{{ liste.DAT }} </td>
<td>{{ liste.PROVIDER}} </td>
<td>{{ liste.CI}} </td>
<td>{{ liste.CELL}} </td>
<td>{{ liste.BSC}}</td>
<td>{{ liste.Cmts}}</td>
<td >{{ liste.nbr}}</td>
<td>{{ liste.TYPE}}</td>
<td><a class="edit" href="">Edit</a></td>
<td onclick="getInfo('{{ liste.CELL}}')">Information KPI dégradés</td>
<td>{{ liste.user_name}}</td>
<td>{{ liste.type_alertes}}</td>
</tr>
{% endfor %}
</div>
</div>
</tbody>
I have been able to create ASPX pages without the code behind, but I can't for the life of me figure out the magic combination to get an ASMX page to work without a code behind. Is this even possible?
Thanks
I have been using the NavigationService's Navigate method to navigate to other pages in my WP7 Silverlight app:
NavigationService.Navigate(new Uri("/Somepage.xaml?val=dreas", UriKind.Relative));
From Somepage.xaml, I then retrieve the query string parameters as follows:
string val;
NavigationContext.QueryString.TryGetValue("val", out val);
I now need a way to pass a complex object using a similar manner. How can I do this without having to serialize the object every time I need to pass it to a new page?
I am trying to pass a variable from one page, load another and enter that information.
something Like this:
When 127.0.0.1/test.html&ID=1234
location.href = "127.0.0.1/newpage.html"
if (location.href == newpage.html){
var e = document.GetElementById("Loginbx");
e.Value = ID
}
I don't have access to modify 127.0.0.1/test.html nor newpage.html but would like to pass variables to them from another. Is this possible?
I am using asp.net mvc and jquery to make ajax requests and when the session times out after an ajax request the full sigin page gets loaded into my ajax div.
How can I display a modal popup instead of making a redirect when a session times out?
Hi peoples, I'm building a pdf document with reportlab, using the Paragraph class:
doc = SimpleDocTemplate(response, leftMargin=lateral_margin, rightMargin=lateral_margin,
topMargin=top_bottom_margin, bottomMargin=top_bottom_margin)
Document = []
Document.append(Paragraph("bla bla bla bla", my_style))
doc.build(Document)
Now I want to add at the end of every page a string, how can I do that??
I want to create a dnn like page modules in asp.net mvc site. Can any one have idea how i can do that. I am using asp.net mvc2.
Any tip of code will be great help
Thanks in advance.
I am getting the below message on my sites page there are more than 20 messages like this... pls guide me to rectify the issue... I am using the PHP 5.3.0
Deprecated: Function eregi() is
deprecated in
C:\wamp\www\bannerbuzz\includes\classes\language.php
on line 87
What is the best way to get statistics for an entire subversion repository and display some of them on a web page? Example. Total number of commits today, this month etc, most active committer etc.