|
Wombaticus wrote: I vaguely remember seeing something, somehwere, about it, but can't find it or
remember where. Clickety[^]
CP search rocks
|
|
|
|
|
Thank you! Now why TF couldn't I find that? (Probably best you don't answer that...)
|
|
|
|
|
I am using custom calendar in my web based application and I am facing one issue, In some of users machine on IE-9 when I click on calendar icon to open it than blank calendar area is displaying any control like dates month year ok, cancel button ... not displaying.
I have try to use it with compatibility view On & Off both but it's not working. I am struggling with this issue.
Can you please give me quick help to resolving it.
Regard's
Kaushik
|
|
|
|
|
can you please share your code here. and what type of error are you getting.
|
|
|
|
|
Hi,
I have a PHP / HTML5 web project for students to upload thier powerPoint presentation in order to share it with others.
Once PowerPoint file is uploaded, how can I displat it on the webpage?
What's the technique used for such task?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
You have two options:
1. Provide the uploaded file as is, and let the client support the PowerPoint installation (If client has any application that can open PP files it will do)...
2. Convert PP to HTML using some 3rd party application (Google for it) and present it to the client...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Hi,
There are lot of ways you can do this:
1) Upload and Link
Yes, you could just upload a PowerPoint file to your web space and link to it as you would to any other file. Visitors click and download the file to view on their own computers. Of course, that will only work if all of the users already have PowerPoint (or compatible software) installed on their computers, so you may want to convert your slideshow to a PDF document format or publish a link to Microsoft
2) Get a Widget
Upload your PPT, PPS, or even PDF files to SlideShare and they're converted into shared media. Copy a snippet of code to embed your presentation directly in your own web page (or simply link to your presentation page on SlideShare’s hosting service) and select the level of privacy you want for each file.
3) Publish an HTML web page
A more serious issue with saving in HTML from the PowerPoint software is that the resulting web presentation is optimized for Internet Explorer. More often than not, it will not display properly for website visitors who are using other browsers. Free open source software may be a stronger choice in this instance. OpenOffice Impress, the PowerPoint look-alike from OpenOffice.org, lets you create a PPT presentation and slideshow from scratch, and it will also convert an existing PowerPoint presentation to HTML in a form that's compatible with a broader range of browsers.
4) Flash it!
Accuracy of the PPT-to-SWF conversion will vary from program to program, depending in part on the complexity of your presentation. You may need to try a few tools in order to find the one that works best for your purposes and budget. Or get around any tricky conversion issues with free screen recording software like CamStudio — record your PowerPoint presentation as you play it back on your own computer screen (even add an audio commentary to the slideshow, if you want).
Some visual blog editors will have a toolbar button for uploading video, but showing a Flash movie on your website is most often as easy as uploading your SWF file to your web space and using a few lines of object / embed code to embed the file on your page.
|
|
|
|
|
Hi,
I have a PHP website project and I am looking for an IP Address Lookup API or web service (IP Owner not just IP Geo).
I tried googling it but could't find any..
have you ever came across such service?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hello Jassim,
I can solve this problem as well as want to work on your php project..
Please contact me on mehul@lightlink.in OR skype: mehul.bavarva
|
|
|
|
|
Hi,
Can you please see this link:
http://www.jassimrahma.com/[^]
I am reading the Google News using SimpleXML
but the format is ruined! and I am unable to find the classes used in the Google News.
can anyone help please..
Thanks,
Technology News @ www.JassimRahma.com
|
|
|
|
|
Have you tried searching Google?
|
|
|
|
|
Hi,
I have created a facebook page and a facebook application for my ASP.NET website and now I need to post messages from my ASP.NET webpage onto the facebook page with help of facebook SDK .NET.
This is what I got so far :
public static bool UploadPost(string message)
{
dynamic result;
FacebookClient client = new FacebookClient("secret access token");
result = client.Get("oauth/access_token", new
{
client_id = "[Client ID number]",
client_secret = "[Client sercret",
grant_type = "client_credentials",
});
result = client.Post("[facebook app Id]/feed", new { message = "Test Message from app" });
result = client.Get("[facebook app Id]");
return false;
}
When running this I get(on client.Post) :
Additional information: (OAuthException - #200) (#200) The user hasn't authorized the application to perform this action If I remove the client.Post row every thing works good, the correct data is fetched.
I have tried follow some helps on facebook SDK .NET website but it is still not working.
Pleas help
|
|
|
|
|
Hi,
I have two different headers. I want header2 to replace header1 when the users scrolls the page.
this is header1:
<header>
<a href="home"><img id="logo" src="<?php echo $_SESSION["blended_learning_domain_name"]; ?>images/logo.png" /></a>
<nav id="navMenu" role="navigation">
<ul>
<li><a href="home" <?php if (basename($_SERVER['PHP_SELF']) == 'home.php') { ?>class="current_page_item"<?php } ?> accesskey="1" title="">Home Page</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="mypage" <?php if (basename($_SERVER['PHP_SELF']) == 'mypage.php') { ?>class="current_page_item"<?php } ?> accesskey="2" title="">My Page</a></li><?php } ?>
<li><a <?php if (basename($_SERVER['PHP_SELF']) == 'browse.php') { ?>class="current_page_item"<?php } ?> href="browse" accesskey="3" title="">Browse</a></li>
<?php if (!$_SESSION["blended_learning_user_id"]) { ?><li><a href="signin" <?php if (basename($_SERVER['PHP_SELF']) == 'signin.php') { ?>class="current_page_item"<?php } ?> accesskey="4" title="">Students</a></li><?php } ?>
<?php if (!$_SESSION["blended_learning_user_id"]) { ?><li><a href="adminsignin" <?php if (basename($_SERVER['PHP_SELF']) == 'admin_signin.php') { ?>class="current_page_item"<?php } ?> accesskey="5" title="">Admin</a></li><?php } ?>
<li><a href="contact" <?php if (basename($_SERVER['PHP_SELF']) == 'contact.php') { ?>class="current_page_item"<?php } ?> accesskey="6" title="">Contact Us</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="out" accesskey="7" title="" style="color: white; background-color: red;">Sign Out</a></li><?php } ?>
</ul>
</nav>
</header>
and this is header2:
<header>
<a href="home"><img id="logo" src="<?php echo $_SESSION["blended_learning_domain_name"]; ?>images/smalllogo.png" /></a>
<nav id="navMenu" role="navigation">
<ul>
<li><a href="home" <?php if (basename($_SERVER['PHP_SELF']) == 'home.php') { ?>class="current_page_item"<?php } ?> accesskey="1" title="">Home Page</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="out" accesskey="7" title="" style="color: white; background-color: red;">Sign Out</a></li><?php } ?>
</ul>
</nav>
</header>
how can I do this please?
Technology News @ www.JassimRahma.com
|
|
|
|
|
|
Hi Jassim,
Could you try using jquery or javascript.
function checkUrl()
{
var text = $("textarea").val();
bool isUrlPresent = isUrlPresent(text);
if(isUrlPresent)
{
// Do something
}
}
function isUrlPresent(url)
{
if(new RegExp("[a-zA-Z\d]+://(\w+:\w+@)?([a-zA-Z\d.-]+\.[A-Za-z]{2,4})(:\d+)?(/.*)?").test(url)) {
return false;
}
else
{
return true;
}
}
Also please check this link :
https://github.com/stephan-fischer/jQuery-LiveUrl/[^]
|
|
|
|
|
Hi,
I have articles web project. I want to calculate the views of every article, just like the views of post in forums.
I created a table article_views with article_id, view_date, view_ip so everytime the page will load it will add a record
but that is a problem because anyone can refresh the page to increase the views!
what's the proper way to do it please?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hi
Try to validate using viewstate.
When the page loads, increase the view count by comparing the viewstate object to null. Then take an object in viewstate. Second time when the user refreshes the page, viewstate object exists and skip the count increment.
Please give a try and let me know how this worked.
Thanks
Naina
Naina
|
|
|
|
|
Which programming language, you are using?
In PHP use sessions to prevent data refresh after page load.
|
|
|
|
|
Hi,
Anyone worked on the above?
I would like to ask, while every airline and hotelis using a different system? how they are ll connected so that I can find them all on expedia or booking.com for example?
what method they use?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
|
|
It's not quite that simple. The href="" link is usually only followed when the user clicks on it, and always uses the GET method, not POST.
You might also need to include any cookies that were received with the page when you make your request.
|
|
|
|
|
In effect the cookie problem is something I had completely neglected : to include this I guess I should load the "Referer"page first, extract the cookies associated with it and include them in the following GET that simulates the "href" anchor... am I right ?
|
|
|
|
|
Whether you should include a cookie or not depends on the domain and path specified in the cookie, the domain and path of the new page you are loading, the cookie lifetime, etc. Here's a link to RFC 6265[^] where you can read all about them.
I don't know how you are dealing with the contents of the href="" attribute, but you will have to cope with absolute links, relative links, <base href="..."> affecting the link location, and also deal with possible non-http links ("javascript:" and "mailto:" are two examples off the top of my head).
|
|
|
|
|
well I am quite confident that the href attribute of the anchor is always an absolute link.
Anyway I included the cookies and this time it seems I made a small step forward , at least now I'm not getting the http 500 error anymore, and I can get a response too (well it's a null string , but this is a detail .. ))....).
What puzzles me is that if I use the raw href url in a web browser call, for instance using IE, I get the requested page without any error... it doesn't seem to expect any cookies form a previous response .... But I am deeply ignorant as far as the web is concerned , I'm sure there's an answer to this.
What's important for now is that at least I can get past the WebResponse ....
Thanks for the support.
|
|
|
|