|
Always get the first entry from the database only (depending on your server, you might use TOP 1, LIMIT 1, WHERE ROWNUMBER=1, ...). After updating the data, just repeat the process till there are no more records with that flag.
|
|
|
|
|
Cheers.
I was able to use the details view to achieve what I wanted.
I just used my own custom classes to bind and update the details grid and a transactional sql query to update each valuation and then reset the flag in the main record .
It worked a treat.
|
|
|
|
|
https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw[Google is sick
Guys help with this... are all this paths to the file.
This is the main file: "rv=PretRSTNTQEkMjnw545454545Yrw". no extension but I want to ask if all this: /xjs/_/ are paths to that file
Thank you.
|
|
|
|
|
Well maybe if you tried explaining it ... that link gives a blank page, and we have no idea what you are trying to do.
Use the best guess
|
|
|
|
|
Guys help with this... are all this paths to the file.
I found this on google
The Structure
<a href="https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw">https://www.google.com/xjs/_/js/s/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/rt=j/ver=V7Ny-OUsbvw.en_US./am=CA/d=0/sv=1/rs=AItRSTNTQEkMjnw5NEaDowS7vIR7ajYYrw</a>
This is the main file: "rv=PretRSTNTQEkMjnw545454545Yrw". no extensions just plain but I want to ask if all this: /xjs/_/... are paths to that file.
Another thing is that some of the path are in the file itself...Just try and search for this words in the file...you will find them there:
/sy9,gf,lr,sy57,cwsc,wta,sy119,ntf,sy44,sy45,sy46,sy48,sy52,sy47,sy53,sy49,sy55,sy54,sy50,sy56,sy51,adct/
Thank you.
|
|
|
|
|
You have still not given us any clue what you are trying to do or what your problem is. The above link leads to a page that would appear to contain a lot of Javascript, but that is not helping at all.
Use the best guess
|
|
|
|
|
Hi, I'm a newbie in javascript
Can anyone help me/show me how to load streetview in id=center on css below??
body{
background-color:#fff;
font-size:16px;
margin ;
padding ;
}
#header{
height:150px;
background-image: url(../images/header.png);
background-repeat: no-repeat;
padding-top:170px;
margin-bottom:150px;
background-position: left top;
}
#left{
float:left;
width:200px;
background-color:#dc8;
min-height:650px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:650px; /* for IE5.x and IE6 */
}
#center {
margin-left:200px;
min-height:650px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:650px; /* for IE5.x and IE6 */
}
#footer {
clear:both;
background-color:#333;
height:100px;
}
this is my streetview code :
function initialize() {
// Set up Street View and initially set it visible. Register the
// custom panorama provider function. Set the StreetView to display
// the custom panorama 'reception' which we check for below.
var panoOptions = {
pano: 'Elektro_UNDIP',
visible: true,
panoProvider: getCustomPanorama
};
var panorama = new google.maps.StreetViewPanorama(
document.getElementById('pano_canvas'), panoOptions);
}
// Add links when it happens "links_change" event.
//google.maps.event.addListener(panorama, "links_changed", createCustomLink);
// Return a pano image given the panoID.
function getCustomPanoramaTileUrl(pano, zoom, tileX, tileY) {
// Note: robust custom panorama methods would require tiled pano data.
// Here we're just using a single tile, set to the tile size and equal
// to the pano "world" size.
return 'images/Elktr_tanjakan-edit.jpg';
}
// Construct the appropriate StreetViewPanoramaData given
// the passed pano IDs.
function getCustomPanorama(pano, zoom, tileX, tileY) {
if (pano == 'Elektro_UNDIP') {
return {
location: {
pano: 'Elektro_UNDIP',
description: 'Elektro View - UNDIP, Semarang'
},
links: [],
// The text for the copyright control.
copyright: 'Imagery (c) 2010 Google',
// The definition of the tiles for this panorama.
tiles: {
tileSize: new google.maps.Size(2048, 720),
worldSize: new google.maps.Size(2048, 720),
// The heading in degrees at the origin of the panorama
// tile set.
centerHeading: 180,
pitch: 0,
getTileUrl: getCustomPanoramaTileUrl
}
};
}
}
google.maps.event.addDomListener(window, 'load', initialize);
Please help me master...
|
|
|
|
|
You need an element (e.g. div) with the ID pano_canvas on the element (div) with the id center in your page. And do not forget to call the initialize() method in your page.
|
|
|
|
|
I try to load the function to html body like this but the streetview window still doesn't show up...
<body>
<div id="header">
<div id="left">
<!-- Main content -->
<div id="center">
<div id="pano_canvas" style="width:90%;height:550px;margin:1em" />
</div>
</body>
is that anything wrong with my method??
|
|
|
|
|
And where od you call the initialize() method?
What about:
<body onload="initialize(")>
|
|
|
|
|
Did you mean
<body onload="initialize()">
Yeah I try that method too,,but nothing happen...
I'm so confuse,,
|
|
|
|
|
how to send email using gmail by the use of json in an HTML page, I don't know about json can anyone help me with it
|
|
|
|
|
See here[^].
Please also delete your duplicate of this question.
Use the best guess
|
|
|
|
|
LOL, nice
I think to answer this question we will need to know more specifics. Your question is too general to warrant an answer beyond this: https://developers.google.com/google-apps/gmail/[^]
And, if you read that, I think you'll come to the same conclusion I did: you can't send emails using the Gmail API.
|
|
|
|
|
I think you meant to answer the OP, rather than me.
Use the best guess
|
|
|
|
|
Well, part of my answer was expressing enjoyment of your answer
|
|
|
|
|
I see you are living in Denver. I used to travel over there quite frequently when I worked for StorageTek, who had their HQ just off the turnpike near Louisville. Always enjoyed my stays in Colorado, some beautiful places to visit.
Use the best guess
|
|
|
|
|
Yeah that's basically my stomping ground, I work for Level(3) and used to work at Ball Aerospace. It's so much fun being around here near the airport. I love planes, so I love to see the different ones that go over all day. I was trolling this forum looking for answers to a problem I'm having with KendoUI, but I haven't posted it yet - too much fun to figure it out myself!
|
|
|
|
|
Hi All,
I've done some research on preventing email harvesting and would like your comments on the limitations of some of the techniques I've found. I've seen articles that suggested the use of images to replace email addresses on websites and others suggested the use of Javascript to insert spaces between each letter of an email. One limitation that comes to mind using the two techniques above is that although bots can't recognize them as being email addresses, site visitors cannot click on them and be taken directly to Microsoft Outlook or whatever email client software they maybe using. What are your thoughts on the techniques just mentioned and what other techniques do you recommend for preventing email harvesting? Thanks in advance for your response.
|
|
|
|
|
Well you could utilise a <form> button which triggers a script to build the email link when user clicks.
Online banking has started to use that method to stop keylogging of extra security measures. Like, character X of your passphrase, user selects from drop down list. No keystrokes recorded.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|
|
I am using iframe to display other's webpage in my webpage in that other's page user give's his data and submit it on other's webpage, after that it gives some result, How can i get the data from the other's page, i am using PHP.
|
|
|
|
|
|
Did you solve your problem?
Hopefully you spotted the missing iframe code in the article link I gave you.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|
|
Manipulating iFrame data is outside the scope of PHP as it's a server side language.
Make yourself familiar with the Same Origin Policy which essentially sums up the reason you're facing this issue.
An article here on CodeProject shows how to use JSONP to collect data cross-site potentially solving your problem.
There are other ways to use PHP to solve your problem however you'd have to change the situation first. Using data a user types in to a form on your site, with CURL you can submit that data to an external [cross]site and manipulate results.
|
|
|
|
|
Hi,
I'm hoping someone has an idea about this. For a project I've got a webworker that syncs data with a webserver.
In the UI thread all the ajax calls are made with jQuery.ajax. Obviously i cannot include jQuery in the webworker and they don't seem to have a "raw" version of the ajax function.
For now I had to roll by own.
But does anybody know of a library that can be used outside of the window scope. Maybe someone with node.js experience?
|
|
|
|
|