Jump to content

willemh

uniGUI Subscriber
  • Posts

    12
  • Joined

  • Last visited

willemh's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Unfortunaly, that doesn't work either. Let me clarify something. I set the URI for the historystate in the browser window. When browsing through a catalog app, I set the categories accourdingly in the browser address (eg historystate) for readablity. What I am trying to do is that if a user copies a link (www.site.com/category1/subcategroy2/?category=1234) I get the category parameter and can reconstruct where the user was.
  2. That is just the problem, the UniApplication.Paramters aren't filled when there is a URI before the parameter. So www.example.com/?user=name1 works like expected, however www.example.com/test/test/?user=name1 does not! In the last case the parameters aren't filled. mvg, willem.
  3. Hi all. what I want to do is to get parameters when they are not directly behind the domain name. What I did was in the OnHTTPCommand event retrieve the parameters (they are known at that point) and set a redirect to www.example.com/?user=name1 Biggest problem at this point is that the method described doesnt work in IIS. Is there a workaround or am I doing something very wrong?
  4. Hi there, Is there a way to get the current x and y positions of a scrollbox after scrolling? I see that there is a onscroll event (https://www.w3schools.com/Jsref/prop_element_scrolltop.asp). How can I get this event fired and the x and y positions back in delphi? Willem.
  5. Works like a charm! Thank you!
  6. Hi Delphi Developer, can you help me with scroll to top problem? TIA, Willem.
  7. Aaahh okay, good to know! I am using uni-1.0.0.1424.
  8. Hi, I am using a desktop app.
  9. Hi there, I'am trying to scroll to the top of my mainform. I've set the mainform autoscroll to true and tried this: UniSession.AddJS(MainForm.WebForm.JSName + '.getScrollable().getScroller().scrollToTop(true)'); but I'am getting the error that O0.getScrollable is not a function. Anyone a suggestion?
  10. I'am still fiddling with this... If I do this: UniSession.AddJS('history.pushState(null, "Frame1", "?frame=frmOne") will it be "good enough" so that the crawlers will index frmOne?
  11. Hi, thanks for the links, they were helpful. I surmised that that using pushstates is the way to go, if we want the seo crawlers picking up on the content. Any idea how to incorporate using pushstates in an Unigui app? TIA.
  12. Hi all. After some testing with Unigui I'am finally getting my feet wet. I’am busy with my first project in Unigui, but I am running into a problem. How helpful the forums (thanks all!) are, I have a very important question still unanswered. Perhaps any of you have some insight into how I can give the SEO crawlers something to index? I’ve readup on the sencha forums about history and routes, is that something we can do in Unigui or are there other possibilities/ways to make an app visible for the likes of Google? Thx.
×
×
  • Create New...